Skip to content

Commit 7d2b8d5

Browse files
committed
erased some js code
1 parent 1ffad2c commit 7d2b8d5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

assets/js/material-dashboard.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ $(document).ready(function(){
6767
// Activate the tooltips
6868
$('[rel="tooltip"]').tooltip();
6969

70-
// Activate the switches with icons
71-
if($('.switch').length != 0){
72-
$('.switch')['bootstrapSwitch']();
73-
}
74-
// Activate regular switches
75-
if($("[data-toggle='switch']").length != 0){
76-
$("[data-toggle='switch']").wrap('<div class="switch" />').parent().bootstrapSwitch();
77-
}
7870

7971
$('.form-control').on("focus", function(){
8072
$(this).parent('.input-group').addClass("input-group-focus");

0 commit comments

Comments
 (0)