Browse Source

HUE-9107 [editor] Fix JS exception when entering presentation mode

Johan Ahlen 6 years ago
parent
commit
e7c367f518
1 changed files with 0 additions and 3 deletions
  1. 0 3
      desktop/core/src/desktop/js/apps/notebook2/notebook.js

+ 0 - 3
desktop/core/src/desktop/js/apps/notebook2/notebook.js

@@ -49,9 +49,6 @@ export default class Notebook {
     this.isPresentationMode = ko.observable(false);
     this.isPresentationModeInitialized = ko.observable(false);
     this.isPresentationMode.subscribe(newValue => {
-      if (!newValue) {
-        this.cancelExecutingAll();
-      }
       huePubSub.publish('editor.presentation.operate.toggle', newValue); // Problem with headers / row numbers redraw on full screen results
       vm.togglePresentationMode();
       if (newValue) {