diff options
author | Mario <mario@mariovavti.com> | 2022-10-10 18:05:26 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-10 18:05:26 +0000 |
commit | ef2448e17e742e7dcef458993bce1e0a29756aa7 (patch) | |
tree | d23c62753abbb42e7bb742f2d44d09321b6f2eee /view/js/main.js | |
parent | 6ab65519a0fc3e55ad5f32ce1641190ef609a4e2 (diff) | |
parent | 99a5cf1ad4660a31af6c03e5a1abc3d374f82c78 (diff) | |
download | volse-hubzilla-7.8.tar.gz volse-hubzilla-7.8.tar.bz2 volse-hubzilla-7.8.zip |
Merge branch '7.8RC'7.8
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index 3fe916d1d..70a83de33 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -89,7 +89,7 @@ $(document).ready(function() { tao.zin.axim = '<div class="zinpax fa fa-sync fa-spin"> </div>'; $('.navbar-app[href*="/lang"]').attr({"aria-expand": "true", "id": "zintog"}) .removeAttr('href').addClass('zinlcx zinlcxp dropdown dropdown-toggle').css('cursor','pointer'); - $('.dropdown-item[href*="/lang"]').addClass('zinlcxmi zinlcx').removeAttr('href').css('cursor','pointer'); + $('.nav-link[href*="/lang"]').addClass('zinlcxmi zinlcx').removeAttr('href').css('cursor','pointer'); } $('.zinlcx').on('click', function(e) { if (tao.zin.syslc == '') { @@ -103,7 +103,7 @@ $(document).ready(function() { tao.zin.syslcs = tao.zin.re.lcs; tao.zin.htm = '<ul class="zinlcs fa-ul">'; $.each( tao.zin.syslcs, function( k, v ) { - tao.zin.htm += '<li><a id="zinlc' + k + '" class="zinlc dropdown-item fakelink">' + k + ' ' + v + '</a></li>'; + tao.zin.htm += '<li><a id="zinlc' + k + '" class="zinlc nav-link fakelink">' + k + ' ' + v + '</a></li>'; }); tao.zin.htm += '</ul>'; $('.zinpax').remove(); @@ -1284,6 +1284,8 @@ function dropItem(url, object, b64mid) { $(object + ', #pinned-wrapper-' + id).remove(); $('body').css('cursor', 'auto'); + $.jGrowl(aStr.itemdel, { sticky: false, theme: 'info', life: 3000 }); + if (typeof b64mid !== typeof undefined) { $('[data-b64mid=\'' + b64mid + '\']').fadeOut(function() { this.remove(); |