diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index ef71b8c1d0..f1585b553a 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -80,6 +80,20 @@ $(document).ready(function () { target: ".flex-target", }); + // add mention-link button to the second navbar + let $mentionButton = $("#mention-link-button"); + if ($mentionButton.length) { + $mentionButton.appendTo("#topbar-second > .container > #navbar-button").css("padding", "2"); + $("#mention-link").addClass("btn-sm "); + $("#mention-link > span i").addClass("fa-2x"); + if ($mentionButton.hasClass("modal-open")) { + $mentionButton.on("click", function (e) { + e.preventDefault(); + jotShow(); + }); + } + } + // add Jot button to the second navbar let $jotButton = $("#jotOpen"); if ($jotButton.length) {