From ce31732b95b6f96e33a4548023eeae95e8e73c93 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 1 Mar 2014 11:48:18 -0800 Subject: [PATCH] Fixing jshint errors --- src/UI/Cells/Edit/QualityCellEditor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/UI/Cells/Edit/QualityCellEditor.js b/src/UI/Cells/Edit/QualityCellEditor.js index 9adedffff..e676df24a 100644 --- a/src/UI/Cells/Edit/QualityCellEditor.js +++ b/src/UI/Cells/Edit/QualityCellEditor.js @@ -50,7 +50,9 @@ define( var column = this.column; var selected = parseInt(this.$el.val(), 10); - var qualityProfileItem = _.find(this.schema.get('items'), function(model) { return model.quality.id == selected }); + var qualityProfileItem = _.find(this.schema.get('items'), function(model) { + return model.quality.id === selected; + }); var newQuality = { proper : false,