Просмотр исходного кода

Track session activvity if the user scrolls the editor

Alberto Fernández Capel 8 лет назад
Родитель
Сommit
a68489a604
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      services/web/public/coffee/ide/editor/directives/aceEditor.coffee

+ 2 - 0
services/web/public/coffee/ide/editor/directives/aceEditor.coffee

@@ -376,6 +376,8 @@ define [
 					# deletes and then inserts document content
 					session.setAnnotations scope.annotations
 
+					session.on "changeScrollTop", event_tracking.editingSessionHeartbeat
+
 					if scope.eventsBridge?
 						session.on "changeScrollTop", onScroll