Style tweak for episode view dialog
This commit is contained in:
parent
be7c60253b
commit
62a3251fb4
2 changed files with 9 additions and 1 deletions
|
@ -1327,6 +1327,12 @@ var AIRTIME = (function(AIRTIME) {
|
|||
height: "auto",
|
||||
modal: true,
|
||||
resizable: false,
|
||||
dialogClass: "podcast-episode-dialog",
|
||||
open: function () {
|
||||
// Sometimes the dialog scrolls down partway if there are elements that need to render,
|
||||
// like images or video, so scroll it back up on open.
|
||||
$(this).parent().scrollTop(0);
|
||||
},
|
||||
close: function() {
|
||||
$(this).dialog('destroy').remove();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue