mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-30 20:14:50 +00:00
ause better icon for menu close
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
$(document).ready(function () {
|
||||
// open external links in separate tab
|
||||
$('a[href^="http://"], a[href^="https://"]').not('a[class*=internal]').attr('target', '_blank');
|
||||
$(".fa-arrow-left").attr("class", "fas fa-times");
|
||||
$(".fa-arrow-up").attr("class", "fas fa-times");
|
||||
// toggle hidable sections
|
||||
$(".toggle > *").hide();
|
||||
$(".toggle .admonition-title").show();
|
||||
@@ -8,12 +10,7 @@ $(document).ready(function () {
|
||||
$(this).parent().children().not(".admonition-title").toggle(400);
|
||||
$(this).parent().children(".admonition-title").toggleClass("open");
|
||||
})
|
||||
$('#navbar-toggler').click(function() {
|
||||
$('.fa-times').toggleClass('hidden');
|
||||
});
|
||||
});
|
||||
// $(window).on('load', function () {
|
||||
// console.log("loaded")
|
||||
|
||||
// $('a').click(function () {
|
||||
// console.log('tag clicked')
|
||||
// $("body.scrolled").addClass("set-padding")
|
||||
// })
|
||||
// })
|
||||
|
||||
Reference in New Issue
Block a user