mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-30 18:18:37 -04:00
making legacy.js work even on IE 6 by avoiding jQuery
This commit is contained in:
parent
5810f17c31
commit
4332d0edb0
6 changed files with 82 additions and 71 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue