forked from syaifulsz/bootstrap-advanced-select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
22 lines (15 loc) · 788 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$(document).ready(function() {
$('#btnDownloadTop').on('click', function() {
_gaq.push(['_trackEvent', 'Bootstrap Advanced Select', 'Download', 'Button Download - Top']);
});
$('#btnDownloadBottom').on('click', function() {
_gaq.push(['_trackEvent', 'Bootstrap Advanced Select', 'Download', 'Button Download - Bottom']);
});
// Chosen
//==================================================================================================================
$('.chosen-select-default').chosen({disable_search_threshold: 10});
$('.chosen-select-search').chosen();
// Select2
//==================================================================================================================
$('.select2-default').select2();
});