Skip to content

Commit

Permalink
fix for notification being sent twice on LPLocationController init. C…
Browse files Browse the repository at this point in the history
…loses luddep#8
  • Loading branch information
luddep committed Mar 20, 2010
1 parent c7dbb39 commit 6e9a2d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LPLocationController.j
Expand Up @@ -50,7 +50,8 @@ var sharedLocationControllerInstance = nil;
if (self = [super init])
{
observers = [CPArray array];

currentHash = window.location.hash;

[CPTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(updateLocation:) userInfo:nil repeats:YES];
}
return self;
Expand Down

0 comments on commit 6e9a2d3

Please sign in to comment.