From 92fd727b30df03d62f4f5c99ea74d06ee9fd63f3 Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 2 May 2014 10:53:14 -0700 Subject: [PATCH] minor fix --- LICENSE | 2 +- builds/appchan-x.user.js | 4 ++-- builds/crx/script.js | 4 ++-- src/Posting/QR.coffee | 12 ++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/LICENSE b/LICENSE index c4872c093..b3dc1f2a0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* appchan x - Version 2.9.20 - 2014-04-21 +* appchan x - Version 2.9.20 - 2014-05-01 * * 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 6a12fbec7..b7fc51bbd 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -25,7 +25,7 @@ // ==/UserScript== /* -* appchan x - Version 2.9.20 - 2014-04-21 +* appchan x - Version 2.9.20 - 2014-05-01 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -9387,7 +9387,7 @@ QR.cooldown.auto = false; QR.status(); return QR.error($.el('span', { - innerHTML: "Connection error. You may have been banned.\n[?]" + innerHTML: "Connection error. You may have been banned.\n[?]" })); } }; diff --git a/builds/crx/script.js b/builds/crx/script.js index 7d3f55ffd..b651c425d 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* appchan x - Version 2.9.20 - 2014-04-21 +* appchan x - Version 2.9.20 - 2014-05-01 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -9429,7 +9429,7 @@ QR.cooldown.auto = false; QR.status(); return QR.error($.el('span', { - innerHTML: "Connection error. You may have been banned.\n[?]" + innerHTML: "Connection error. You may have been banned.\n[?]" })); } }; diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index a8bf2c32a..9d27d4ddc 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -284,7 +284,7 @@ QR = QR.open() QR.handleFiles files $.addClass QR.nodes.el, 'dump' - + handleBlob: (urlBlob, header, url) -> name = url.substr(url.lastIndexOf('/')+1, url.length) #QUALITY coding at work @@ -421,7 +421,7 @@ QR = else 'new' list.nextElementSibling.firstChild.textContent = list.options[list.selectedIndex].textContent if $.hasClass list, 'riced' - + dialog: -> QR.nodes = nodes = @@ -455,7 +455,7 @@ QR = setNode 'spoilerPar', '#qr-spoiler-label' setNode 'status', '[type=submit]' setNode 'fileInput', '[type=file]' - + rules = $('ul.rules').textContent.trim() QR.min_width = QR.min_heigth = 1 QR.max_width = QR.max_heigth = 5000 @@ -568,8 +568,8 @@ QR = name: 'flag' className: 'flagSelector' - fn = (val) -> - $.add select, $.el 'option', + fn = (val) -> + $.add select, $.el 'option', value: val[0] textContent: val[1] @@ -706,7 +706,7 @@ QR = QR.error $.el 'span', innerHTML: """ Connection error. You may have been banned. - [?] + [?] """ extra = form: $.formData formData