mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Fix duplication of error message
This commit is contained in:
@ -586,6 +586,7 @@ Common.Utils.isBrowserSupported = function() {
|
||||
};
|
||||
|
||||
Common.Utils.showBrowserRestriction = function() {
|
||||
if (document.getElementsByClassName && document.getElementsByClassName('app-error-panel').length>0) return;
|
||||
var editor = (window.DE ? 'Document' : window.SSE ? 'Spreadsheet' : window.PE ? 'Presentation' : 'that');
|
||||
var newDiv = document.createElement("div");
|
||||
newDiv.innerHTML = '<div class="app-error-panel">' +
|
||||
|
||||
Reference in New Issue
Block a user