File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
gwt-material/src/main/java/gwt/material/design/client/ui Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121
2222import com .google .gwt .dom .client .Element ;
2323import com .google .gwt .dom .client .Style ;
24+ import com .google .gwt .user .client .DOM ;
2425import com .google .gwt .user .client .ui .Widget ;
2526import gwt .material .design .client .base .HasActivates ;
2627import gwt .material .design .client .base .HasProgress ;
@@ -88,8 +89,7 @@ protected void onLoad() {
8889 navMenu .setIconPosition (IconPosition .NONE );
8990
9091 // Check whether the SideNav is attached or not. If not attached Hide the NavMenu
91- Element sideNavElement = $ ("\\ #" + getActivatesMixin ().getActivates ()).asElement ();
92-
92+ Element sideNavElement = $ (DOM .getElementById (getActivatesMixin ().getActivates ())).asElement ();
9393 navMenu .setDisplay (sideNavElement == null ? Display .NONE : Display .INITIAL );
9494 }
9595
You can’t perform that action at this time.
0 commit comments