[PE] refactoring

This commit is contained in:
Maxim Kadushkin 2021-02-03 10:02:41 +03:00
parent 40a7e66834
commit a24f5c0068

View file

@ -349,7 +349,7 @@ define([
},
onPreviewStart: function(slidenum, presenter) {
this.previewPanel = this.previewPanel || PE.getController('Viewport').getView('DocumentPreview');
this.previewPanel = this.previewPanel || this.getView('DocumentPreview');
var me = this,
isResized = false;