Revert "Fix posting on PaleMoon"
This reverts commit 2589a093e3bd22d31d7785aa5e53baf68f1fa3ab.
This commit is contained in:
parent
1ffbd50fb3
commit
181c3c882b
@ -2987,9 +2987,6 @@
|
|||||||
return onChange(key);
|
return onChange(key);
|
||||||
});
|
});
|
||||||
return $.forceSync = function(key) {
|
return $.forceSync = function(key) {
|
||||||
if ($.frag().childElementCount == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
return onChange(g.NAMESPACE + key);
|
return onChange(g.NAMESPACE + key);
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|||||||
@ -428,9 +428,6 @@ do ->
|
|||||||
$.on window, 'storage', ({key}) -> onChange key
|
$.on window, 'storage', ({key}) -> onChange key
|
||||||
|
|
||||||
$.forceSync = (key) ->
|
$.forceSync = (key) ->
|
||||||
# XXX Palemoon
|
|
||||||
return unless $.frag().childElementCount?
|
|
||||||
|
|
||||||
# Storage events don't work across origins
|
# Storage events don't work across origins
|
||||||
# e.g. http://boards.4chan.org and https://boards.4chan.org
|
# e.g. http://boards.4chan.org and https://boards.4chan.org
|
||||||
# so force a check for changes to avoid lost data.
|
# so force a check for changes to avoid lost data.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user