mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-09-19 05:49:07 +00:00
Fixed build issues.
This commit is contained in:
@@ -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 + ") ";
|
||||
|
@@ -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"))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user