Do not refresh notes on hidden tabs
This commit is contained in:
parent
c7dc20c120
commit
e52f50c22f
|
|
@ -72,7 +72,7 @@ class Notes
|
|||
, 15000
|
||||
|
||||
refresh: ->
|
||||
@getContent()
|
||||
@getContent() unless document.hidden
|
||||
|
||||
getContent: ->
|
||||
$.ajax
|
||||
|
|
|
|||
Loading…
Reference in New Issue