From 6ecb15ad1d4ea76b3f6d42fba86e8f4325c12197 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Fri, 11 Jul 2014 18:17:44 +0200 Subject: [PATCH] Don't show controls bar automatically. --- static/js/directives/presentation.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/directives/presentation.js b/static/js/directives/presentation.js index 4f5e101e..2a75a4c9 100644 --- a/static/js/directives/presentation.js +++ b/static/js/directives/presentation.js @@ -70,9 +70,8 @@ define(['jquery', 'underscore', 'text!partials/presentation.html'], function($, } }; - $scope.resetProperties = function(keepControlsBar) { + $scope.resetProperties = function() { $scope.isPresenter = false; - $scope.hideControlsBar = !keepControlsBar; $scope.currentFileInfo = null; $scope.currentPage = null; $scope.receivedPage = null; @@ -80,7 +79,6 @@ define(['jquery', 'underscore', 'text!partials/presentation.html'], function($, $scope.$on("pdfLoaded", function(event, source, doc) { $scope.downloading = false; - $scope.hideControlsBar = !$scope.isPresenter; $scope.currentPageNumber = -1; if ($scope.isPresenter) { $scope.$emit("showPdfPage", 1);