Alert only if posting with the normal post form.
This commit is contained in:
parent
cdc137c028
commit
a7670c192d
@ -1054,6 +1054,8 @@
|
||||
e.preventDefault();
|
||||
if (isQR) {
|
||||
$('#error').textContent = 'Stop posting so often!';
|
||||
} else {
|
||||
alert('Stop posting so often!');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -821,6 +821,8 @@ qr =
|
||||
|
||||
if isQR
|
||||
$('#error').textContent = 'Stop posting so often!'
|
||||
else
|
||||
alert 'Stop posting so often!'
|
||||
|
||||
return
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user