Skip to content

Commit

Permalink
Fixed ability to disable plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianAdams committed Aug 14, 2014
1 parent 49706df commit fd10723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/openrov-plugin-divealerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
},3000);
};
this.disable = function () {
clearInterval(self.alertloop);
clearInterval(this.alertloop);
};

//this technique forces relative path to the js file instead of the excution directory
Expand Down

0 comments on commit fd10723

Please sign in to comment.