Do not refresh notes on hidden tabs

This commit is contained in:
Jacob Vosmaer
2014-04-29 17:21:58 +02:00
parent c7dc20c120
commit e52f50c22f
+1 -1
View File
@@ -72,7 +72,7 @@ class Notes
, 15000
refresh: ->
@getContent()
@getContent() unless document.hidden
getContent: ->
$.ajax