Update paragraph.controller.js

remove comments for timer saver
This commit is contained in:
LeiWang 2017-03-28 14:45:16 +08:00 committed by GitHub
parent 3612f563d5
commit 99082273ff

View file

@ -599,8 +599,6 @@ function ParagraphCtrl($scope, $rootScope, $route, $window, $routeParams, $locat
var session = editor.getSession();
var dirtyText = session.getValue();
$scope.dirtyText = dirtyText;
//the saveTimer is not be invoked with this statement correctly
//$scope.$broadcast('startSaveTimer');
$scope.startSaveTimer();
setParagraphMode(session, dirtyText, editor.getCursorPosition());
};