Fix duplication of error message
This commit is contained in:
parent
4e033860cf
commit
afc6ede0bf
|
@ -586,6 +586,7 @@ Common.Utils.isBrowserSupported = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
Common.Utils.showBrowserRestriction = 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 editor = (window.DE ? 'Document' : window.SSE ? 'Spreadsheet' : window.PE ? 'Presentation' : 'that');
|
||||||
var newDiv = document.createElement("div");
|
var newDiv = document.createElement("div");
|
||||||
newDiv.innerHTML = '<div class="app-error-panel">' +
|
newDiv.innerHTML = '<div class="app-error-panel">' +
|
||||||
|
|
Loading…
Reference in a new issue