From e5f03b6aed39ca8e7d3f162adbdbf39c712b512d Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 11 Jun 2010 14:19:37 -0700 Subject: [PATCH] Fixing compass so it actually works --- framework/assets/js/compass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/assets/js/compass.js b/framework/assets/js/compass.js index fc90e110..bb3e220a 100644 --- a/framework/assets/js/compass.js +++ b/framework/assets/js/compass.js @@ -25,7 +25,7 @@ function Compass() { */ Compass.prototype.getCurrentHeading = function(successCallback, errorCallback, options) { if (this.lastHeading == null) { - this.start(options); + CompassHook.start(); } else if (typeof successCallback == "function") {