diff --git a/LICENSE b/LICENSE index 56ac8e810..b032035ee 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* appchan x - Version 2.10.4 - 2015-01-26 +* appchan x - Version 2.10.4 - 2015-01-27 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index fba772eb5..2d0ae80a9 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -28,7 +28,7 @@ // ==/UserScript== /* -* appchan x - Version 2.10.4 - 2015-01-26 +* appchan x - Version 2.10.4 - 2015-01-27 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -9813,9 +9813,6 @@ if ((e.ctrlKey || e.metaKey) && e.type === 'click') { $.addClass(QR.nodes.filename, 'edit'); QR.nodes.filename.focus(); - return $.on(QR.nodes.filename, 'blur', function() { - return $.rmClass(QR.nodes.filename, 'edit'); - }); } if (e.target.nodeName === 'INPUT' || (e.keyCode && ((_ref = e.keyCode) !== 32 && _ref !== 13)) || e.ctrlKey) { return; diff --git a/builds/crx/script.js b/builds/crx/script.js index 1cd662bd6..d349ee373 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* appchan x - Version 2.10.4 - 2015-01-26 +* appchan x - Version 2.10.4 - 2015-01-27 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -9863,9 +9863,6 @@ if ((e.ctrlKey || e.metaKey) && e.type === 'click') { $.addClass(QR.nodes.filename, 'edit'); QR.nodes.filename.focus(); - return $.on(QR.nodes.filename, 'blur', function() { - return $.rmClass(QR.nodes.filename, 'edit'); - }); } if (e.target.nodeName === 'INPUT' || (e.keyCode && ((_ref = e.keyCode) !== 32 && _ref !== 13)) || e.ctrlKey) { return; diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 70bbf6457..49433fc28 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -357,7 +357,6 @@ QR = if (e.ctrlKey or e.metaKey) and e.type is 'click' $.addClass QR.nodes.filename, 'edit' QR.nodes.filename.focus() - return $.on QR.nodes.filename, 'blur', -> $.rmClass QR.nodes.filename, 'edit' return if e.target.nodeName is 'INPUT' or (e.keyCode and e.keyCode not in [32, 13]) or e.ctrlKey e.preventDefault() QR.nodes.fileInput.click()