mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-04-16 23:22:08 +03:00
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
This commit is contained in:
parent
6c1e29a3fe
commit
bb2bacd70c
|
@ -3,7 +3,7 @@
|
|||
$(function (){
|
||||
|
||||
if (ripples) {
|
||||
ripples.init(".btn:not(.btn-link), .navbar a, .nav-tabs a, .withripple");
|
||||
ripples.init(".btn:not(.btn-link), .navbar a:not(.withoutripple), .nav-tabs a:not(.withoutripple), .withripple");
|
||||
}
|
||||
|
||||
var initInputs = function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user