Browse Source

remove else in function escapeHTML

Ice5050 11 years ago
parent
commit
2649bc740d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/bootstrap-table.js

+ 1 - 2
src/bootstrap-table.js

@@ -108,9 +108,8 @@
                 .replace(/>/g, ">")
                 .replace(/"/g, """)
                 .replace(/'/g, "'");
-        }else {
-            return text;
         }
+        return text;
     };
 
     // BOOTSTRAP TABLE CLASS DEFINITION