mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Init lightbox
This commit is contained in:
parent
a0bd9bce39
commit
2ea91266c0
|
@ -681,6 +681,10 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
})
|
})
|
||||||
|
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
$(this).ekkoLightbox();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
|
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
|
||||||
|
|
Loading…
Reference in a new issue