Skip to content

Commit 9dfd51f

Browse files
author
KittenApps-Films
committed
1 parent 22c5754 commit 9dfd51f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
'use strict'
22
setTimeout(function(){
3-
var exectionalWords = exeptions;
4-
//var badWordsArray = newBad;
53
console.log("Chat running");
64
setInterval(clean, 100);
75
function clean() {
86
let chat = document.getElementsByClassName('geofs-chat-message')
97
for (let item of chat) {
10-
item.innerHTML = profanityCleaner.clean(item.innerHTML, { exceptions: exectionalWords })
8+
item.innerHTML = profanityCleaner.clean(item.innerHTML, { exceptions: exeptions, customBadWords: newBad })
119
}
1210
}
1311
}, 2000);

0 commit comments

Comments
 (0)