Alert only if posting with the normal post form.
This commit is contained in:
parent
cdc137c028
commit
a7670c192d
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user