Alert only if posting with the normal post form.

This commit is contained in:
Nicolas Stepien 2011-05-21 23:01:17 +02:00
parent cdc137c028
commit a7670c192d
2 changed files with 4 additions and 0 deletions

View File

@ -1054,6 +1054,8 @@
e.preventDefault(); e.preventDefault();
if (isQR) { if (isQR) {
$('#error').textContent = 'Stop posting so often!'; $('#error').textContent = 'Stop posting so often!';
} else {
alert('Stop posting so often!');
} }
return; return;
} }

View File

@ -821,6 +821,8 @@ qr =
if isQR if isQR
$('#error').textContent = 'Stop posting so often!' $('#error').textContent = 'Stop posting so often!'
else
alert 'Stop posting so often!'
return return