From 181c3c882bb438face602ddaaa4ccee835a1e199 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sat, 13 Dec 2014 04:42:55 -0700 Subject: [PATCH] Revert "Fix posting on PaleMoon" This reverts commit 2589a093e3bd22d31d7785aa5e53baf68f1fa3ab. --- builds/appchan-x.user.js | 3 --- src/General/lib/$.coffee | 3 --- 2 files changed, 6 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 83815b76d..6b72e4d71 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -2987,9 +2987,6 @@ return onChange(key); }); return $.forceSync = function(key) { - if ($.frag().childElementCount == null) { - return; - } return onChange(g.NAMESPACE + key); }; })(); diff --git a/src/General/lib/$.coffee b/src/General/lib/$.coffee index 130ad31eb..18bc3070f 100755 --- a/src/General/lib/$.coffee +++ b/src/General/lib/$.coffee @@ -428,9 +428,6 @@ do -> $.on window, 'storage', ({key}) -> onChange key $.forceSync = (key) -> - # XXX Palemoon - return unless $.frag().childElementCount? - # Storage events don't work across origins # e.g. http://boards.4chan.org and https://boards.4chan.org # so force a check for changes to avoid lost data.