Performance and handly usage

This commit is contained in:
Fabrice Daugan 2016-11-06 16:31:43 +01:00 committed by GitHub
parent abefab8a2b
commit a16b628109

View File

@ -256,7 +256,9 @@
}); });
}, },
"ripples": function (selector) { "ripples": function (selector) {
$((selector) ? selector : this.options.withRipples).ripples(); $(document).on('mousedown', selector || this.options.withRipples, function() {
$(this).ripples();
});
}, },
"autofill": function () { "autofill": function () {
// This part of code will detect autofill when the page is loading (username and password inputs for example) // This part of code will detect autofill when the page is loading (username and password inputs for example)