Revert "Fix posting on PaleMoon"

This reverts commit 2589a093e3bd22d31d7785aa5e53baf68f1fa3ab.
This commit is contained in:
Zixaphir 2014-12-13 04:42:55 -07:00
parent 1ffbd50fb3
commit 181c3c882b
2 changed files with 0 additions and 6 deletions

View File

@ -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);
}; };
})(); })();

View File

@ -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.