mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fixed GetHashCode
fixed TopStats restrict search to minimum 3 characters
This commit is contained in:
2
WebfrontCore/wwwroot/js/global.min.js
vendored
2
WebfrontCore/wwwroot/js/global.min.js
vendored
File diff suppressed because one or more lines are too long
22
WebfrontCore/wwwroot/js/search.js
Normal file
22
WebfrontCore/wwwroot/js/search.js
Normal file
@ -0,0 +1,22 @@
|
||||
$(document).ready(function() {
|
||||
$('.form-inline').submit(function(e) {
|
||||
if ($('#client_search').val().length < 3) {
|
||||
e.preventDefault();
|
||||
$('#client_search')
|
||||
.addClass('input-text-danger')
|
||||
.delay(25)
|
||||
.queue(function(){
|
||||
$(this).addClass('input-border-transition').dequeue();
|
||||
})
|
||||
.delay(1000)
|
||||
.queue(function() {
|
||||
$(this).removeClass('input-text-danger').dequeue();
|
||||
})
|
||||
.delay(500)
|
||||
.queue(function() {
|
||||
$(this).removeClass('input-border-transition').dequeue();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user