fixed browser detection

This commit is contained in:
Devaev Maxim
2018-12-24 01:30:54 +03:00
parent 69a60b2186
commit a4e7808c5e
2 changed files with 6 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ var tools = new function() {
})(!window["safari"] || (typeof safari !== "undefined" && safari.pushNotification))); // eslint-disable-line no-undef
// Chrome 1+
var is_chrome = (!!window.chrome && !!window.chrome.webstore);
var is_chrome = !!window.chrome;
// Blink engine detection
var is_blink = ((is_chrome || is_opera) && !!window.CSS);