Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 4e048ff

Browse files
author
Robert Messerle
committed
fix(ripple): fixes ripple when jQuery is loaded
Closes #4375
1 parent 1e6d166 commit 4e048ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/services/ripple/ripple.js

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ InkRippleCtrl.prototype.bindEvents = function () {
140140
* @param event {MouseEvent}
141141
*/
142142
InkRippleCtrl.prototype.handleMousedown = function (event) {
143+
if (event.hasOwnProperty('originalEvent')) event = event.originalEvent;
143144
this.mousedown = true;
144145
if (this.options.center) {
145146
this.createRipple(this.container.prop('clientWidth') / 2, this.container.prop('clientWidth') / 2);

0 commit comments

Comments
 (0)