Skip to content

A free open source IT asset/license management system

Fixed #5616 - removed duplicate call to ekkoLightbox on asset view

snipe3afe4938f99a
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index 72b624e94b..5661a4118b 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -870,11 +870,6 @@
@section('moar_scripts')
@include ('partials.bootstrap-table')
-<script nonce="{{ csrf_token() }}">
- $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
- event.preventDefault();
- $(this).ekkoLightbox();
- });
-</script>
+
@stop