diff --git a/4chan_x.user.js b/4chan_x.user.js index 8030fba6c..478d3bf94 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan x -// @version 2.37.0 +// @version 2.37.1 // @namespace aeosynth // @description Adds various features. // @copyright 2009-2011 James Campos @@ -27,7 +27,7 @@ * Copyright (c) 2009-2011 James Campos * Copyright (c) 2012 Nicolas Stepien * http://mayhemydg.github.com/4chan-x/ - * 4chan X 2.37.0 + * 4chan X 2.37.1 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation @@ -2630,7 +2630,7 @@ if (err) { if (/captcha|verification/i.test(err.textContent) || err === 'Connection error with sys.4chan.org.') { if (/mistyped/i.test(err.textContent)) { - err.textContent = 'Error: You seem to have mistyped the CAPTCHA.'; + err = 'Error: You seem to have mistyped the CAPTCHA.'; } QR.cooldown.auto = QR.captchaIsEnabled ? !!$.get('captchas', []).length : true; QR.cooldown.set({ @@ -5625,7 +5625,7 @@ return $.globalEval(("(" + code + ")()").replace('_id_', bq.id)); }, namespace: '4chan_x.', - version: '2.37.0', + version: '2.37.1', callbacks: [], css: '\ /* dialog styling */\ diff --git a/Cakefile b/Cakefile index fd4299ed2..879b1caa0 100644 --- a/Cakefile +++ b/Cakefile @@ -2,7 +2,7 @@ {exec} = require 'child_process' fs = require 'fs' -VERSION = '2.37.0' +VERSION = '2.37.1' HEADER = """ // ==UserScript== diff --git a/changelog b/changelog index f093c26bb..0d7755904 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ master + +2.37.1 - noface Fix Anonymize not working on stubs. - Mayhem diff --git a/latest.js b/latest.js index 261d781cd..c71e44f35 100644 --- a/latest.js +++ b/latest.js @@ -1 +1 @@ -postMessage({version:'2.37.0'},'*') \ No newline at end of file +postMessage({version:'2.37.1'},'*') \ No newline at end of file diff --git a/script.coffee b/script.coffee index f240fa326..c8446097a 100644 --- a/script.coffee +++ b/script.coffee @@ -2077,7 +2077,7 @@ QR = if /captcha|verification/i.test(err.textContent) or err is 'Connection error with sys.4chan.org.' # Remove the obnoxious 4chan Pass ad. if /mistyped/i.test err.textContent - err.textContent = 'Error: You seem to have mistyped the CAPTCHA.' + err = 'Error: You seem to have mistyped the CAPTCHA.' # Enable auto-post if we have some cached captchas. QR.cooldown.auto = if QR.captchaIsEnabled @@ -4529,7 +4529,7 @@ Main = $.globalEval "(#{code})()".replace '_id_', bq.id namespace: '4chan_x.' - version: '2.37.0' + version: '2.37.1' callbacks: [] css: ' /* dialog styling */