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(); } });