Permalink
Browse files

Fixed set_timeout bug

  • Loading branch information...
1 parent 8f8d1a1 commit 886af87ad1b898376852c9bd451ecfcf09a738eb @sergeche sergeche committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tern.py
View
@@ -418,7 +418,7 @@ def on_post_save(self, view):
if is_js_view(view):
p = project.project_for_view(view)
if p:
- sublime.set_timeout(lambda: ctx.js().locals.forceFileUpdate(view, p['id']))
+ sublime.set_timeout(lambda: ctx.js().locals.forceFileUpdate(view, p['id']), 1)
return

0 comments on commit 886af87

Please sign in to comment.