Skip to content

Commit

Permalink
Fix embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Sep 16, 2024
1 parent d864a67 commit 4b7c0ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/documenteditor/embed/js/ApplicationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ DE.ApplicationController = new(function(){
ttOffset[1] = 40;
}

config.mode && (config.mode = 'view'); // always view for embedded
config.mode = 'view'; // always view for embedded
config.canCloseEditor = false;
var _canback = false;
if (typeof config.customization === 'object') {
Expand Down
2 changes: 1 addition & 1 deletion apps/presentationeditor/embed/js/ApplicationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ PE.ApplicationController = new(function(){
$('#box-preview').addClass('top');
}

config.mode && (config.mode = 'view'); // always view for embedded
config.mode = 'view'; // always view for embedded
config.canCloseEditor = false;
var _canback = false;
if (typeof config.customization === 'object') {
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/embed/js/ApplicationController.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ SSE.ApplicationController = new(function(){
$('.viewer').addClass('top');
}

config.mode && (config.mode = 'view'); // always view for embedded
config.mode = 'view'; // always view for embedded
config.canCloseEditor = false;
var _canback = false;
if (typeof config.customization === 'object') {
Expand Down

0 comments on commit 4b7c0ee

Please sign in to comment.