Commit cc0750bd authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51493 954022d7-b5bf-4e40-9824-e11837661b57
parent 1895f311
......@@ -49,7 +49,7 @@ AscBrowser.isAndroid = (AscBrowser.userAgent.indexOf("android") > -1);
AscBrowser.isMobile = /android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent || navigator.vendor || window.opera);
// gecko detect
AscBrowser.isGecko = (AscBrowser.userAgent.indexOf("gecko") > -1);
AscBrowser.isGecko = (AscBrowser.userAgent.indexOf("gecko/") > -1);
// chrome detect
AscBrowser.isChrome = (AscBrowser.userAgent.indexOf("chrome") > -1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment