mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Comments in the JS
This commit is contained in:
parent
2522bfee9c
commit
15d4344efb
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue