Skip to content

Commit 9c79313

Browse files
committed
Do not add the ripple effect to all a elements
Sometimes we might not want to have some links "rippled" this patch prevents so. Ideally we'd have the possibility of passing our own set of selectors to ripples.init tho
1 parent 7fc9bd4 commit 9c79313

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/material.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$(function (){
44

55
if (ripples) {
6-
ripples.init(".btn:not(.btn-link), .navbar a, .nav-tabs a, .withripple");
6+
ripples.init(".btn:not(.btn-link), .navbar a:not(.withoutripple), .nav-tabs a:not(.withoutripple), .withripple");
77
}
88

99
var initInputs = function() {

0 commit comments

Comments
 (0)