Do not refresh notes on hidden tabs

This commit is contained in:
Jacob Vosmaer 2014-04-29 11:54:09 +02:00
parent c7dc20c120
commit e52f50c22f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class Notes
, 15000
refresh: ->
@getContent()
@getContent() unless document.hidden
getContent: ->
$.ajax