mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-22 17:47:11 +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
7fc9bd45bf
commit
9c79313679
|
@ -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