1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Fixed: gulp jshint warnings (#1873)

This commit is contained in:
James White
2017-08-12 14:16:12 +01:00
committed by Leonardo Galli
parent a07ef20410
commit 1f7b03d321
6 changed files with 12 additions and 11 deletions
@@ -43,11 +43,11 @@ var view = Marionette.ItemView.extend({
onRender : function() {
var rootFolder = this.model.get("rootFolderPath");
if (rootFolder != "") {
if (rootFolder !== "") {
//this.ui.rootFolder.val(rootFolder);
this.ui.rootFolder.children().filter(function() {
//may want to use $.trim in here
return $(this).text() == rootFolder;
return $(this).text() === rootFolder;
}).attr('selected', true);
} else {
var defaultRoot = Config.getValue(Config.Keys.DefaultRootFolderId);