From b070cfc9b04c32ca038024eca10d2ad4e797eb44 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 6 Apr 2014 19:46:58 -0700 Subject: [PATCH] compile that --- builds/4chan-X.user.js | 6 ++++-- builds/crx/script.js | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 21042d562..f97f7b1fb 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -131,7 +131,7 @@ Config = { main: { 'Miscellaneous': { - 'JSON Navigation': [true, 'Use JSON for loading the Board Index and Threads. Also allows searching and sorting the board index and infinite scolling.'], + 'JSON Navigation': [false, 'Use JSON for loading the Board Index and Threads. Also allows searching and sorting the board index and infinite scolling.'], 'Catalog Links': [true, 'Add toggle link in header menu to turn Navigation links into links to each board\'s catalog.'], 'External Catalog': [false, 'Link to external catalog instead of the internal one.'], 'QR Shortcut': [false, 'Adds a small [QR] link in the header.'], @@ -7970,7 +7970,9 @@ endEvents: 'mouseout click', asapTest: function() { if (isVideo) { - return el.videoHeight || el.naturalHeight; + return el.videoHeight; + } else { + return el.naturalHeight; } }, noRemove: true, diff --git a/builds/crx/script.js b/builds/crx/script.js index a8a3aa1ca..cee0578fd 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -107,7 +107,7 @@ Config = { main: { 'Miscellaneous': { - 'JSON Navigation': [true, 'Use JSON for loading the Board Index and Threads. Also allows searching and sorting the board index and infinite scolling.'], + 'JSON Navigation': [false, 'Use JSON for loading the Board Index and Threads. Also allows searching and sorting the board index and infinite scolling.'], 'Catalog Links': [true, 'Add toggle link in header menu to turn Navigation links into links to each board\'s catalog.'], 'External Catalog': [false, 'Link to external catalog instead of the internal one.'], 'QR Shortcut': [false, 'Adds a small [QR] link in the header.'], @@ -7978,7 +7978,9 @@ endEvents: 'mouseout click', asapTest: function() { if (isVideo) { - return el.videoHeight || el.naturalHeight; + return el.videoHeight; + } else { + return el.naturalHeight; } }, noRemove: true,