mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Fixed #4392 - select2 + fastclick incompatibility
This is a workaround fix - should upgrade both to latest after testing extensively
This commit is contained in:
parent
b772d8e527
commit
0589652edb
|
@ -771,6 +771,7 @@
|
||||||
<script nonce="{{ csrf_token() }}">
|
<script nonce="{{ csrf_token() }}">
|
||||||
$(function () {
|
$(function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
|
$('.select2 span').addClass('needsclick');
|
||||||
|
|
||||||
// This javascript handles saving the state of the menu (expanded or not)
|
// This javascript handles saving the state of the menu (expanded or not)
|
||||||
$('body').bind('expanded.pushMenu', function() {
|
$('body').bind('expanded.pushMenu', function() {
|
||||||
|
@ -798,6 +799,8 @@
|
||||||
$(this).ekkoLightbox();
|
$(this).ekkoLightbox();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
|
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
|
||||||
|
|
Loading…
Reference in a new issue