Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tidy up

Remove spurious debugging message and fix clearTimeout call
  • Loading branch information...
commit 2ab33205ddb16d8dc55901f1ff3e09c6fbab250a 1 parent 9aee48f
Joshua Lock authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 app/assistants/mainView-assistant.js
View
4 app/assistants/mainView-assistant.js
@@ -158,13 +158,11 @@ MainViewAssistant.prototype.doJumpToNearest = function(response) {
};
MainViewAssistant.prototype.clearOverlay = function() {
- Mojo.Log.info("Clear map overlay");
-
var canvas = $("mapCanvas");
this.ctx.clearRect(0, 0, canvas.width, canvas.height);
this.ctx.drawImage(this.background, 0, 0);
- this.clearTimeout(this.timeoutId);
+ clearTimeout(this.timeoutId);
};
MainViewAssistant.prototype.notifyNoLocation = function(response) {
Please sign in to comment.
Something went wrong with that request. Please try again.