1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-24 22:35:49 -04:00

Fixed: Additional jshint warnings (#1921)

This commit is contained in:
James White
2017-08-12 16:11:34 +01:00
committed by Leonardo Galli
parent d773da60e8
commit 7a06ead806
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
var _ = require('underscore');
var _ = require('underscore');
var $ = require('jquery');
var vent = require('vent');
var AppLayout = require('../AppLayout');
@@ -33,7 +33,7 @@ module.exports = Marionette.ItemView.extend({
},
onShow : function() {
if (this.release.get("mappingResult") == "wrongYear") {
if (this.release.get("mappingResult") === "wrongYear") {
this.ui.titleMapping.hide();
} else {
this.ui.yearMapping.hide();
@@ -42,14 +42,14 @@ module.exports = Marionette.ItemView.extend({
_configureTemplateHelpers : function() {
this.templateHelpers.release = this.release.toJSON();
this.templateHelpers.languages = LanguageCollection.toJSON()
this.templateHelpers.languages = LanguageCollection.toJSON();
},
_forceDownload : function() {
this.ui.indicator.show();
var self = this;
if (this.release.get("mappingResult") == "wrongYear") {
if (this.release.get("mappingResult") === "wrongYear") {
var altYear = new AltYearModel({
movieId : this.release.get("suspectedMovieId"),
year : this.release.get("year")