Skip to content

Commit

Permalink
Merge pull request #2716 from ONLYOFFICE/fix/pdf-flag-for-plugins
Browse files Browse the repository at this point in the history
[PDF] Add pdf flag for plugins
  • Loading branch information
JuliaRadzhabova authored Nov 30, 2023
2 parents a85fcee + fc3b679 commit 132cc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/main/lib/controller/Plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ define([
loadConfig: function(data) {
var me = this;
me.configPlugins.config = data.config.plugins;
me.editor = (!!window.DE || !!window.PDFE) ? 'word' : !!window.PE ? 'slide' : 'cell';
me.editor = !!window.PDFE ? 'pdf' : !!window.DE ? 'word' : !!window.PE ? 'slide' : 'cell';
me.isPDFEditor = !!window.PDFE;
},

Expand Down

0 comments on commit 132cc29

Please sign in to comment.