blur textarea on persistent qr

damn that shit is annoying
This commit is contained in:
James Campos 2011-09-03 23:27:42 -07:00
parent ea76eca01c
commit 8caf096216
2 changed files with 2 additions and 0 deletions

View File

@ -1256,6 +1256,7 @@
QR.spoiler = $('.postarea label') ? ' <label>[<input type=checkbox name=spoiler>Spoiler Image?]</label>' : '';
if (conf['Persistent QR']) {
QR.dialog();
$('textarea', QR.qr).blur();
if (conf['Auto Hide QR']) {
return $('#autohide', QR.qr).checked = true;
}

View File

@ -989,6 +989,7 @@ QR =
QR.spoiler = if $('.postarea label') then ' <label>[<input type=checkbox name=spoiler>Spoiler Image?]</label>' else ''
if conf['Persistent QR']
QR.dialog()
$('textarea', QR.qr).blur()
if conf['Auto Hide QR']
$('#autohide', QR.qr).checked = true
attach: ->