Explorar o código

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

Johan Ahlen %!s(int64=6) %!d(string=hai) anos
pai
achega
e7c367f518
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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) {