Browse Source

Don't show controls bar automatically.

pull/72/head
Joachim Bauch 11 years ago
parent
commit
6ecb15ad1d
  1. 4
      static/js/directives/presentation.js

4
static/js/directives/presentation.js

@ -70,9 +70,8 @@ define(['jquery', 'underscore', 'text!partials/presentation.html'], function($, @@ -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($, @@ -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);

Loading…
Cancel
Save