Commit 6e8ff388 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Какая-то непонятная заглушка, чтобы не падало в ipad

Баг http://bugzserver/show_bug.cgi?id=21694

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51145 954022d7-b5bf-4e40-9824-e11837661b57
parent 30237cc7
......@@ -1221,6 +1221,13 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
var fonts = $.map(this.wbModel.generateFontMap(), function (fname) {return new CFont(fname, 0, "", 0);});
this.FontLoader.LoadDocumentFonts(fonts);
// Какая-то непонятная заглушка, чтобы не падало в ipad
if (this.isMobileVersion) {
window.USER_AGENT_SAFARI_MACOS = false;
PASTE_ELEMENT_ID = "wrd_pastebin";
ELEMENT_DISPAY_STYLE = "none";
}
if (window.USER_AGENT_SAFARI_MACOS)
setInterval(SafariIntervalFocus, 10);
},
......
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