Skip to content

Commit

Permalink
(hotfix) remove jquery trigger on RomoOnkey that we missed
Browse files Browse the repository at this point in the history
This was missed when porting on onkey to Romo js and off of
jQuery.  I noticed this will fixing and responding to code review
on the spinner component rework.
  • Loading branch information
kellyredding authored and jcredding committed Oct 23, 2017
1 parent 0afc9fd commit fc40526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/romo/onkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var RomoOnkey = function(elem) {
this.triggerOn = Romo.data(this.elem, 'romo-onkey-on') || this.defaultTriggerOn;
Romo.on(this.elem, this.triggerOn, Romo.proxy(this._onTrigger, this));

this.elem.trigger('romoOnkey:ready', [this]);
Romo.trigger(this.elem, 'romoOnkey:ready', [this]);
}

RomoOnkey.prototype.doInit = function() {
Expand Down

0 comments on commit fc40526

Please sign in to comment.