Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
Remove spurious debugging message and fix clearTimeout call
  • Loading branch information
Joshua Lock committed Sep 9, 2010
1 parent 9aee48f commit 2ab3320
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/assistants/mainView-assistant.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 2ab3320

Please sign in to comment.