mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix duplicate function naming on dashboard
This commit is contained in:
parent
170750466c
commit
85225cbdce
@ -615,7 +615,7 @@
|
||||
}
|
||||
|
||||
|
||||
function warn(message, link = null, className = null) {
|
||||
function warnServer(message, link = null, className = null) {
|
||||
var closeEl = document.createElement('span');
|
||||
var strongEL = document.createElement('strong');
|
||||
var msgEl = document.createElement('div');
|
||||
@ -799,7 +799,7 @@
|
||||
setTimeout(finishTimeout, 60000);
|
||||
});
|
||||
function finishTimeout() {
|
||||
warn("It seems this is taking a while...it's possible you're using UBlock or a similar ad blocker and it's causing some of our connections to not make it to the server. Try disabling your ad blocker.",
|
||||
warnServer("It seems this is taking a while...it's possible you're using UBlock or a similar ad blocker and it's causing some of our connections to not make it to the server. Try disabling your ad blocker.",
|
||||
null, 'wssError');
|
||||
}
|
||||
$(".stop_button").click(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user