Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Commit

Permalink
ionicMaterialInk.displayEffect() : use options.selector when defined -
Browse files Browse the repository at this point in the history
  • Loading branch information
blavenie committed Mar 13, 2017
1 parent fd3e3e7 commit 1f4e035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/lib/_ink.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ module.exports = function (angularApp) {
}

//Wrap input inside <i> tag
var selectors = '.ink,.tab-item,.button-fab,.button-raised,.button-flat,.button-clear,a.item,.popup .button';
var selectors = options.selector || '.ink,.tab-item,.button-fab,.button-raised,.button-flat,.button-clear,a.item,.popup .button';
Effect.wrapInput($$(selectors));

Array.prototype.forEach.call($$(selectors), function(i) {
Expand Down

0 comments on commit 1f4e035

Please sign in to comment.