making legacy.js work even on IE 6 by avoiding jQuery

This commit is contained in:
El RIDO 2019-09-18 07:31:32 +02:00
parent 5810f17c31
commit 4332d0edb0
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
6 changed files with 82 additions and 71 deletions

View file

@ -4926,12 +4926,12 @@ jQuery.PrivateBin = (function($, RawDeflate) {
UiHelper.init();
// check for legacy browsers before going any further
if (!$.Legacy.Check.getInit()) {
if (!Legacy.Check.getInit()) {
// Legacy check didn't complete, wait and try again
setTimeout(init, 500);
return;
}
if (!$.Legacy.Check.getStatus()) {
if (!Legacy.Check.getStatus()) {
// something major is wrong, stop right away
return;
}