mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-12 13:31:14 +00:00
add confirmation to ~shorten URL~ in DMs to tmobile
This commit is contained in:
parent
4f38edc466
commit
d63918dac6
@ -2484,7 +2484,10 @@ $(document).ready(function () {
|
||||
cbConfirm: openRequestShortURIForm,
|
||||
cbConfirmReq: event
|
||||
});
|
||||
else
|
||||
else if ($.mobile && postAreaNew.closest('.dm-form').length) {
|
||||
if (confirm(polyglot.t('shorten_URI_its_public_is_it_ok')))
|
||||
openRequestShortURIForm(event);
|
||||
} else
|
||||
openRequestShortURIForm(event);
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user