diff --git a/js/tygh/core.js b/js/tygh/core.js index a367116..0baa01f 100644 --- a/js/tygh/core.js +++ b/js/tygh/core.js @@ -1045,13 +1045,13 @@ var Tygh = { }); // Check if cookie is enabled. - if(typeof Modernizr !== 'undefined' && Modernizr.cookies == false) { + if(Modernizr.cookies == false) { $.ceNotification('show', { title: _.tr('warning'), message: _.tr('cookie_is_disabled') }); } - + return true; },