diff options
author | Mario <mario@mariovavti.com> | 2021-09-08 19:48:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-09-08 19:48:42 +0000 |
commit | 7b0f8f289637d06f610230a0fbe7cfe51cd53d6c (patch) | |
tree | a23e05fcdcf21abb6b8ab21c70c27ee60d63c702 /view/tpl | |
parent | 25a81ea500746e2451a6c5aaa5a35fe208b61d62 (diff) | |
download | volse-hubzilla-7b0f8f289637d06f610230a0fbe7cfe51cd53d6c.tar.gz volse-hubzilla-7b0f8f289637d06f610230a0fbe7cfe51cd53d6c.tar.bz2 volse-hubzilla-7b0f8f289637d06f610230a0fbe7cfe51cd53d6c.zip |
fix language selector reloading the page if not clicking the icon exactly and bs5 modal issues
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/jot-header.tpl | 4 | ||||
-rw-r--r-- | view/tpl/wiki.tpl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 2ee78cd28..ca3cabd61 100644 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -185,7 +185,7 @@ var activeCommentText = ''; function jotGetExpiry() { //reply = prompt("{{$expirewhen}}", $('#jot-expire').val()); - $('#expiryModal').modal(); + $('#expiryModal').modal('show'); $('#expiry-modal-OKButton').on('click', function() { reply=$('#expiration-date').val(); if(reply && reply.length) { @@ -197,7 +197,7 @@ var activeCommentText = ''; function jotGetPubDate() { //reply = prompt("{{$expirewhen}}", $('#jot-expire').val()); - $('#createdModal').modal(); + $('#createdModal').modal('show'); $('#created-modal-OKButton').on('click', function() { reply=$('#created-date').val(); if(reply && reply.length) { diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 33d4dd097..bf3f64508 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -323,7 +323,7 @@ wiki_revert_page(compareCommit); $('#generic-modal-{{$wikiModalID}}').modal('hide'); }); - $('#generic-modal-{{$wikiModalID}}').modal(); + $('#generic-modal-{{$wikiModalID}}').modal('show'); } else { window.console.log('Error comparing page.'); } @@ -364,7 +364,7 @@ }); getPhotoAlbumList(); $('#embedPhotoModalBodyAlbumDialog').off('click'); - $('#embedPhotoModal').modal(); + $('#embedPhotoModal').modal('show'); }; var choosePhotoFromAlbum = function (album) { |