Style tweak for episode view dialog

This commit is contained in:
Duncan Sommerville 2015-11-16 18:25:10 -05:00
parent be7c60253b
commit 62a3251fb4
2 changed files with 9 additions and 1 deletions

View file

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