Skip to content

Commit

Permalink
Added perfect scrollbar to jquery dialog. Removed draggable & resizable
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachTRice committed Jul 6, 2017
1 parent ea6d950 commit 96b82d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/js/layers/wv.layers.info.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ wv.layers.info = wv.layers.info || function(config, models, layer) {
show: { effect: "slide", direction: "left" },
width: 450,
height: 300,
resizable: false,
draggable: false,
position: {
my: "left top",
at: "right+5 top",
Expand All @@ -50,6 +52,7 @@ wv.layers.info = wv.layers.info || function(config, models, layer) {
},
close: dispose
});
$("#wv-layers-info-dialog").perfectScrollbar();
};

var dispose = function() {
Expand Down
2 changes: 2 additions & 0 deletions web/js/layers/wv.layers.options.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ wv.layers.options = wv.layers.options || function(config, models, layer) {
show: { effect: "slide", direction: "left" },
width: 300,
height: "auto",
resizable: false,
draggable: false,
position: {
my: "left top",
at: "right+5 top",
Expand Down

0 comments on commit 96b82d9

Please sign in to comment.