Skip to content

Commit

Permalink
Disable draggability on side panel vatlab#127
Browse files Browse the repository at this point in the history
Disabling draggability on the side panel temporarily until issue vatlab#127 can be addressed in a better way as suggested
  • Loading branch information
aadithpm authored Oct 7, 2018
1 parent dfdd5a7 commit 62ac5d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sos_notebook/kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,10 @@ define([

// Ensure position is fixed
$("#panel-wrapper").css("position", "fixed");


// let the code stay but disable panel draggability for now
$("#panel-wrapper").draggable('disable');

// if panel-wrapper is undefined (first run(?), then hide it)
// if ($("#panel-wrapper").css("display") === undefined) $("#panel-wrapper").css("display", "none") //block
if (!$("#panel-wrapper").css("display")) {
Expand Down

0 comments on commit 62ac5d5

Please sign in to comment.