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:
Pablo Marti 2014-10-03 16:39:46 +07:00
parent 6c1e29a3fe
commit bb2bacd70c

View File

@ -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() {