Make aircraft info panel draggable

This commit is contained in:
Carlos Salaverria 2016-08-31 15:45:29 -05:00
parent 6934b8899a
commit bf1d1280ec
3 changed files with 63 additions and 59 deletions

View file

@ -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);