Skip to content

Commit 8f955cb

Browse files
author
FezVrasta
committed
fix ripples detection
1 parent 666ec3b commit 8f955cb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/material.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$(function (){
44

5-
if (ripples) {
5+
if (typeof ripples == "object") {
66
ripples.init(".btn:not(.btn-link), .navbar a:not(.withoutripple), .nav-tabs a:not(.withoutripple), .withripple");
77
}
88

template/material/scripts/material.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$(function (){
44

5-
if (ripples) {
5+
if (typeof ripples == "object") {
66
ripples.init(".btn:not(.btn-link), .navbar a:not(.withoutripple), .nav-tabs a:not(.withoutripple), .withripple");
77
}
88

0 commit comments

Comments
 (0)