CC-4948: Library -> library loses have its width when window is resized
-fixed
This commit is contained in:
parent
1a36953d82
commit
e2e45b0160
|
@ -1078,6 +1078,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
|
||||
var libTableHeight = widgetHeight - 130;
|
||||
|
||||
if (!$pl.is(':hidden')) {
|
||||
$lib.height(widgetHeight)
|
||||
.find(".dataTables_scrolling")
|
||||
.css("max-height", libTableHeight)
|
||||
|
@ -1086,6 +1087,13 @@ var AIRTIME = (function(AIRTIME){
|
|||
|
||||
$pl.height(widgetHeight)
|
||||
.width(Math.floor(width * 0.45));
|
||||
} else {
|
||||
$lib.height(widgetHeight)
|
||||
.find(".dataTables_scrolling")
|
||||
.css("max-height", libTableHeight)
|
||||
.end()
|
||||
.width(width + 40);
|
||||
}
|
||||
}
|
||||
|
||||
mod.onReady = function() {
|
||||
|
|
Loading…
Reference in New Issue