Focus settings menu item
[MAILPOET-2677]
This commit is contained in:
committed by
Veljko V
parent
c1c845ab8d
commit
88b12dc1cc
@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
import jQuery from 'jquery';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { HashRouter } from 'react-router-dom';
|
||||
import { GlobalContext, useGlobalContextValue } from 'context';
|
||||
@ -16,5 +17,8 @@ const Entry = () => (
|
||||
const container = document.getElementById('settings_container');
|
||||
if (container) {
|
||||
initStore(window);
|
||||
// Select the settings submenu
|
||||
// This is temporary and should be removed at the end of settings refactoring
|
||||
jQuery('ul.wp-submenu > li:nth-child(7)').addClass('current');
|
||||
ReactDOM.render(<Entry />, container);
|
||||
}
|
||||
|
Reference in New Issue
Block a user