Make aircraft info panel draggable
This commit is contained in:
parent
6934b8899a
commit
bf1d1280ec
3 changed files with 63 additions and 59 deletions
|
|
@ -216,6 +216,9 @@ function initialize() {
|
|||
// Set up map/sidebar splitter
|
||||
$("#sidebar_container").resizable({handles: {w: '#splitter'}});
|
||||
|
||||
// Set up aircraft information panel
|
||||
$("#selected_infoblock").draggable({containment: "parent"});
|
||||
|
||||
// Set up event handlers for buttons
|
||||
$("#toggle_sidebar_button").click(toggleSidebarVisibility);
|
||||
$("#expand_sidebar_button").click(expandSidebar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue