|
|
@ -228,12 +228,12 @@ var dw_behaviour = { |
|
|
|
// successful check will not be repeated during session
|
|
|
|
$checkDiv.remove(); |
|
|
|
sessionStorage.setItem('dw-security-check:' + DOKU_BASE, true); |
|
|
|
} |
|
|
|
}; |
|
|
|
img.onload = function () { |
|
|
|
// check failed, display a warning message
|
|
|
|
$checkDiv.html(LANG.data_insecure); |
|
|
|
$checkDiv.addClass('error'); |
|
|
|
} |
|
|
|
}; |
|
|
|
img.src = $checkDiv.data('src') + '?t=' + Date.now(); |
|
|
|
} |
|
|
|
}; |
|
|
|