Browse Source

Merge pull request #86 from fancycode/show_initial_presentation

Always show uploaded presentation if no presentation is active yet.
pull/87/head
Simon Eisenmann 11 years ago
parent
commit
e02b981f5d
  1. 4
      static/js/directives/presentation.js

4
static/js/directives/presentation.js

@ -518,8 +518,8 @@ define(['jquery', 'underscore', 'text!partials/presentation.html', 'bigscreen'], @@ -518,8 +518,8 @@ define(['jquery', 'underscore', 'text!partials/presentation.html', 'bigscreen'],
});
});
var presentation = uploadPresentation(file);
if ($scope.availablePresentations.length === 1) {
// this is the first presentation, show immediately
if (!$scope.currentPresentation) {
// no presentation active, show immediately
$scope.selectPresentation(presentation);
}
};

Loading…
Cancel
Save