Remove outdated code

pull/1301/head
Till Breuer 11 years ago
parent 8b582f3a6b
commit cd2af56237
  1. 3
      app/assets/javascripts/angular/controllers/timelines_controller.js

@ -32,9 +32,6 @@ timelinesApp.controller('TimelinesController', ['$scope', '$window', 'TimelineSe
$scope.getTimelineContainerElementId = function() {
return 'timeline-container-' + $scope.timelineContainerNo;
};
$scope.getTimelineContainer = function() {
return angular.element(document.querySelector('#' + $scope.getTimelineContainerElementId()));
};
$scope.$watch('currentScaleName', function(newScaleName, oldScaleName){
if (newScaleName !== oldScaleName) {

Loading…
Cancel
Save