Fixed #4392 - select2 + fastclick incompatibility

This is a workaround fix - should upgrade both to latest after testing extensively
This commit is contained in:
snipe 2017-11-06 17:17:48 -08:00
parent b772d8e527
commit 0589652edb

View file

@ -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('/')))