Skip to content

Commit

Permalink
(hotfix) ajax: fix .rmAttr method name typo/mispelling
Browse files Browse the repository at this point in the history
This was missed when we updated the RomoAjax component to Romo's
js API.  This cleans things up.
  • Loading branch information
kellyredding committed Nov 1, 2017
1 parent 3d751ff commit d572036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/romo/ajax.js
Expand Up @@ -78,7 +78,7 @@ RomoAjax.prototype._invoke = function() {

var callUrl = Romo.attr(this.elem, this.urlAttr);
if (this.callOnlyOnce === true) {
Romo.removeAttr(this.elem, this.urlAttr);
Romo.rmAttr(this.elem, this.urlAttr);
}
if (callUrl !== undefined) {
this._call(callUrl, data);
Expand Down

1 comment on commit d572036

@kellyredding
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcredding FYI.

Please sign in to comment.