mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +00:00
fix network.html's promoted message setup textarea
This commit is contained in:
parent
67ba3f42c9
commit
1a6ed6f9dd
@ -1818,7 +1818,10 @@ function poseTextareaEditBar(textArea) {
|
||||
.css('margin-left', textArea.css('margin-left'))
|
||||
.css('margin-right', textArea.css('margin-right'))
|
||||
;
|
||||
editBar.find('.shorten-uri').text(polyglot.t('shorten_URI'));
|
||||
if (textArea.closest('.network').length)
|
||||
editBar.find('.shorten-uri').remove();
|
||||
else
|
||||
editBar.find('.shorten-uri').text(polyglot.t('shorten_URI'));
|
||||
}
|
||||
editBar.insertAfter(textArea).show();
|
||||
}
|
||||
|
@ -309,8 +309,6 @@ function interfaceNetworkHandlers() {
|
||||
$('.add-dns').on('click', addDNSClick);
|
||||
$('select.genblock').on('change', setGenerate);
|
||||
$('.genproclimit').on('change', setGenerate);
|
||||
$('.network .post-area-new').off('click').on('click',
|
||||
function (e) {e.stopPropagation(); $(this).addClass('open');});
|
||||
$('.post-submit.update-spam-msg').off('click').on('click', setSpamMsg);
|
||||
$('.terminate-daemon').on('click',
|
||||
{txtMessage: {polyglot: 'confirm_terminate_daemon'}, cbConfirm: exitDaemon}, confirmPopup);
|
||||
|
Loading…
Reference in New Issue
Block a user