Skip to content

A free open source IT asset/license management system

Comments in the JS

snipe15d4344efb4d
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index 8b9ce3ae02..1948a1d3fa 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -772,6 +772,7 @@
$(function () {
$('[data-toggle="tooltip"]').tooltip();
+ // This javascript handles saving the state of the menu (expanded or not)
$('body').bind('expanded.pushMenu', function() {
$.ajax({
type: 'GET',
@@ -791,6 +792,7 @@
});
+ // Initiate the ekko lightbox
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
event.preventDefault();
$(this).ekkoLightbox();