From 15d4344efb4dc7bbd1900adbbb630f1013e72f52 Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 4 Nov 2017 00:15:23 -0700 Subject: [PATCH] Comments in the JS --- resources/views/layouts/default.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 8b9ce3ae0..1948a1d3f 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();