From e8e1fddef14d4401dc935f0b0662eb49384cc20b Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 6 Apr 2011 04:11:00 -0700 Subject: [PATCH] 1.27.6 - fix "update now" --- 4chan_x.js | 5 +++-- changelog | 3 +++ header | 2 +- script.coffee | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 5e068f262..e28f2867e 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2,11 +2,12 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features. -// @version 1.27.5 +// @version 1.27.6 // @copyright 2009-2011 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/* // @include http://sys.4chan.org/* +// @include file://* // @updateURL http://userscripts.org/scripts/source/51412.meta.js // ==/UserScript== @@ -1469,7 +1470,7 @@ interval = $('input[name=interval]', div); interval.value = GM_getValue('Interval', 10); $.bind(interval, 'change', updateInterval); - $.bind($('input[type=button]'), 'click', updateNow); + $.bind($('input[type=button]', div), 'click', updateNow); d.body.appendChild(div); if (GM_getValue('autoG')) { return updateAuto.call($("input[name=autoL]", div)); diff --git a/changelog b/changelog index 072cb321c..93a043f1e 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +1.27.6 +- fix 'update now' button + 1.27.5 - fix regression - reload captcha after posting diff --git a/header b/header index 10b70d484..b082da2de 100644 --- a/header +++ b/header @@ -2,7 +2,7 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features. -// @version 1.27.5 +// @version 1.27.6 // @copyright 2009-2011 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/* diff --git a/script.coffee b/script.coffee index 68571ccc5..04e36f258 100644 --- a/script.coffee +++ b/script.coffee @@ -1111,7 +1111,7 @@ updaterMake = -> interval.value = GM_getValue 'Interval', 10 $.bind interval, 'change', updateInterval - $.bind $('input[type=button]'), 'click', updateNow + $.bind $('input[type=button]', div), 'click', updateNow d.body.appendChild div