mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Comments in the JS
This commit is contained in:
parent
2522bfee9c
commit
15d4344efb
|
@ -772,6 +772,7 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
|
|
||||||
|
// This javascript handles saving the state of the menu (expanded or not)
|
||||||
$('body').bind('expanded.pushMenu', function() {
|
$('body').bind('expanded.pushMenu', function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
|
@ -791,6 +792,7 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Initiate the ekko lightbox
|
||||||
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
|
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$(this).ekkoLightbox();
|
$(this).ekkoLightbox();
|
||||||
|
|
Loading…
Reference in a new issue