Skip to content

Commit

Permalink
Make the js IE11 friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
azaozz committed May 8, 2019
1 parent a975c43 commit f59ee97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/block-editor-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

wp.plugins.registerPlugin( 'classic-editor-plugin', {
render() {
render: function() {
var createElement = wp.element.createElement;
var PluginMoreMenuItem = wp.editPost.PluginMoreMenuItem;
var url = wp.url.addQueryArgs( document.location.href, { 'classic-editor': '', 'classic-editor__forget': '' } );
Expand Down

0 comments on commit f59ee97

Please sign in to comment.