Skip to content

Commit

Permalink
Added private scope for loadSVGNavigationIcons method (emoji plugin)
Browse files Browse the repository at this point in the history
  • Loading branch information
hub33k committed Apr 9, 2020
1 parent 6952852 commit a214729
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions plugins/emoji/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,8 @@
} );
},

/**
* To avoid CORS issues due to XML based SVG icons, they should be loaded into panel document.
*
* This method ensures that the icons are loaded locally.
*/
// To avoid CORS issues due to XML based SVG icons, they should be loaded into panel document.
// This method ensures that the icons are loaded locally.
loadSVGNavigationIcons: function() {
if ( !this.editor.plugins.emoji.isSVGSupported() ) {
return;
Expand Down

0 comments on commit a214729

Please sign in to comment.