Browse Source

Formatting the code

Dennis Hernández 10 years ago
parent
commit
1bffc7c99d
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/extensions/filter-control/bootstrap-table-filter-control.js

+ 4 - 2
src/extensions/filter-control/bootstrap-table-filter-control.js

@@ -250,12 +250,14 @@
                 var $input = $(this),
                 oldValue = $input.val();
 
-                if (oldValue === "") return;
+                if (oldValue === "") {
+                    return;
+                }
 
                 setTimeout(function(){
                     var newValue = $input.val();
 
-                    if (newValue === ""){
+                    if (newValue === "") {
                         clearTimeout(timeoutId);
                         timeoutId = setTimeout(function () {
                             that.onColumnSearch(event);