Skip to content

Commit

Permalink
Move spinner outside of $timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dgorissen committed Aug 26, 2014
1 parent 778e72b commit 3cc12c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/mapctrl.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,10 @@ angular.module('taarifaWaterpointsApp')
# FIXME: find a better solution than this "magic number" for timeout
$timeout ->
map.invalidateSize()
modalSpinner.close()
, 2000

modalSpinner.close()

return map
)

Expand Down

0 comments on commit 3cc12c5

Please sign in to comment.