From b50564c70f59c5677fbedfaaf3754ec15d1a1c9f Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 11 Jan 2012 09:56:30 +0100 Subject: [PATCH] Comment out automatic sync of name/mail/subj for now. --- 4chan_x.user.js | 6 ------ script.coffee | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index b3310ffa6..761368544 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1369,12 +1369,6 @@ }; if (conf['Remember Subject']) qr.inputs.subject = $('[name=subject]', qr.el); new qr.reply().load(); - $.on(window, 'storage', function(e) { - var match; - if (match = e.key.match(/qr_(.+)$/)) { - return qr.inputs[match[1]].value = JSON.parse(e.newValue); - } - }); return $.add(d.body, qr.el); }, submit: function(e) { diff --git a/script.coffee b/script.coffee index cc62b563c..b6d775d86 100644 --- a/script.coffee +++ b/script.coffee @@ -1112,9 +1112,9 @@ textarea.field { qr.inputs.subject = $ '[name=subject]', qr.el if conf['Remember Subject'] new qr.reply().load() # sync between tabs - $.on window, 'storage', (e) -> - if match = e.key.match /qr_(.+)$/ - qr.inputs[match[1]].value = JSON.parse e.newValue + # $.on window, 'storage', (e) -> + # if match = e.key.match /qr_(.+)$/ + # qr.inputs[match[1]].value = JSON.parse e.newValue $.add d.body, qr.el