mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Hide right sidebar on start if screen narrower than 600px
so at last you can see something that looks like Node-RED
This commit is contained in:
parent
0658b70631
commit
974ac31d33
@ -141,6 +141,8 @@ RED.sidebar = (function() {
|
||||
RED.keyboard.add(/* SPACE */ 32,{ctrl:true},function(){RED.menu.setSelected("menu-item-sidebar",!RED.menu.isSelected("menu-item-sidebar"));d3.event.preventDefault();});
|
||||
showSidebar();
|
||||
RED.sidebar.info.show();
|
||||
// hide info bar at start if screen rather narrow...
|
||||
if ($(window).width() < 600) { toggleSidebar(); }
|
||||
}
|
||||
|
||||
var eventHandler = (function() {
|
||||
|
Loading…
Reference in New Issue
Block a user