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:
committed by
Leonardo Galli
parent
a07ef20410
commit
1f7b03d321
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user