From e183bf6b762dc4d68ac3fd07a8bf9004e50d8d7f Mon Sep 17 00:00:00 2001 From: OldHawk Date: Sat, 2 Jun 2018 03:46:03 +0800 Subject: [PATCH] fix(torrents): fixed eslint warning --- .../client/controllers/torrent-info.client.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/torrents/client/controllers/torrent-info.client.controller.js b/modules/torrents/client/controllers/torrent-info.client.controller.js index 0e05d1e6..067cbdc4 100644 --- a/modules/torrents/client/controllers/torrent-info.client.controller.js +++ b/modules/torrents/client/controllers/torrent-info.client.controller.js @@ -45,7 +45,7 @@ * window.resize() */ $(window).resize(function () { - if ($('#popup_img_preview_wrapper') && $('#popup_img_preview_wrapper').css('display') != 'none') { + if ($('#popup_img_preview_wrapper') && $('#popup_img_preview_wrapper').css('display') !== 'none') { vm.resizePopupImage(); } });