mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-10 22:56:22 +02:00
ace.js: remove template literals to keep IE 11 compatibility
Files in "src/static" are executed on the client: do not break browser compatibility because of syntactic sugar. Introduced in 9c990ab08a51.
This commit is contained in:
parent
7f7efa22b7
commit
36f39a6e13
@ -230,7 +230,7 @@ function Ace2Editor()
|
||||
// disableCustomScriptsAndStyles can be used to disable loading of custom scripts
|
||||
if(!clientVars.disableCustomScriptsAndStyles){
|
||||
$$INCLUDE_CSS("../static/css/pad.css");
|
||||
$$INCLUDE_CSS(`../static/skins/${clientVars.skinName}/pad.css`);
|
||||
$$INCLUDE_CSS("../static/skins/" + clientVars.skinName + "/pad.css");
|
||||
}
|
||||
|
||||
var additionalCSS = _(hooks.callAll("aceEditorCSS")).map(function(path){
|
||||
@ -314,7 +314,7 @@ window.onload = function () {\n\
|
||||
var $$INCLUDE_CSS = function(filename) {includedCSS.push(filename)};
|
||||
$$INCLUDE_CSS("../static/css/iframe_editor.css");
|
||||
$$INCLUDE_CSS("../static/css/pad.css");
|
||||
$$INCLUDE_CSS(`../static/skins/${clientVars.skinName}/pad.css`);
|
||||
$$INCLUDE_CSS("../static/skins/" + clientVars.skinName + "/pad.css");
|
||||
|
||||
|
||||
var additionalCSS = _(hooks.callAll("aceEditorCSS")).map(function(path){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user