From 2ea91266c0f7955caad925b4d2907f1305a77030 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 29 Sep 2017 14:26:00 -0700 Subject: [PATCH] Init lightbox --- resources/views/layouts/default.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index d3cc7f6752..124bc101c5 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -681,6 +681,10 @@ $(function () { $('[data-toggle="tooltip"]').tooltip(); }) + $(document).on('click', '[data-toggle="lightbox"]', function(event) { + event.preventDefault(); + $(this).ekkoLightbox(); + }); @if ((Session::get('topsearch')=='true') || (Request::is('/')))