Skip to content

A free open source IT asset/license management system

Fixed #4392 - select2 + fastclick incompatibility

snipe0589652edbcc
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index 1948a1d3fa..0a4e347b70 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -771,6 +771,7 @@
<script nonce="{{ csrf_token() }}">
$(function () {
$('[data-toggle="tooltip"]').tooltip();
+ $('.select2 span').addClass('needsclick');
// This javascript handles saving the state of the menu (expanded or not)
$('body').bind('expanded.pushMenu', function() {
@@ -798,6 +799,8 @@
$(this).ekkoLightbox();
});
+
+
</script>
@if ((Session::get('topsearch')=='true') || (Request::is('/')))