aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-08 19:48:42 +0000
committerMario <mario@mariovavti.com>2021-09-08 21:50:25 +0200
commitb95c61d2c21f2c9f64df9fe2d90d8b7612a7735a (patch)
treea1f99a059b8e457d0572d06d2a9c1af74f7befe4 /view/tpl/jot-header.tpl
parent4c5f0a05c75cc66113f589a3ffe6df351abb1273 (diff)
downloadvolse-hubzilla-b95c61d2c21f2c9f64df9fe2d90d8b7612a7735a.tar.gz
volse-hubzilla-b95c61d2c21f2c9f64df9fe2d90d8b7612a7735a.tar.bz2
volse-hubzilla-b95c61d2c21f2c9f64df9fe2d90d8b7612a7735a.zip
fix language selector reloading the page if not clicking the icon exactly and bs5 modal issues
(cherry picked from commit 7b0f8f289637d06f610230a0fbe7cfe51cd53d6c)
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rw-r--r--view/tpl/jot-header.tpl4
1 files changed, 2 insertions, 2 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) {