Fixed build issues.

This commit is contained in:
2019-01-10 14:59:12 +01:00
parent 069922b7da
commit 93df9d235d
6 changed files with 14 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ ComunicWeb.common.pageTitle = {
* Refresh document title
*/
__refresh: function(){
let title = "";
var title = "";
if(this._curr_notifications_number > 0)
title += "(" + this._curr_notifications_number + ") ";

View File

@@ -633,7 +633,7 @@ function removeJavascriptEventsFromHTML(html){
//Search for unexceptable references
while(html.match(/on[a-zA-Z ]+=/i) != null){
let match = html.match(/on[a-zA-Z ]+=/i)[0];
var match = html.match(/on[a-zA-Z ]+=/i)[0];
html = html.replace(match, match.replace("on", "o<block></block>n"))
}