This commit is contained in:
James Campos 2010-10-29 16:23:55 -07:00
parent ab3f7ed013
commit 89cf77249d
3 changed files with 10 additions and 2 deletions

View File

@ -486,6 +486,10 @@ iframeLoad = ->
submit.value = 30
submit.disabled = true
window.setTimeout cooldown, 1000
auto = submit.previousSibling.lastChild
if auto.checked
#unhide the qr so you know it's ready for the next item
$('input[title=autohide]:checked', qr)?.click()
else
remove qr

View File

@ -531,7 +531,7 @@
}
};
iframeLoad = function() {
var _ref2, _ref3, error, qr, span, submit;
var _ref2, _ref3, auto, error, qr, span, submit;
if (iframeLoop = !iframeLoop) {
return null;
}
@ -551,6 +551,10 @@
submit.value = 30;
submit.disabled = true;
window.setTimeout(cooldown, 1000);
auto = submit.previousSibling.lastChild;
if (auto.checked) {
(typeof (_ref3 = ((_ref2 = $('input[title=autohide]:checked', qr)))) === "undefined" || _ref3 === null) ? undefined : _ref3.click();
}
} else {
remove(qr);
}

2
readme
View File

@ -2,7 +2,7 @@
// @name 4chan x
// @namespace aeosynth
// @description Adds various features.
// @version 1.7.0
// @version 1.7.1
// @copyright 2009, 2010 James Campos
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
// @include http://boards.4chan.org/*