1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-17 20:11:46 +02:00
This commit is contained in:
Ryan Cramer
2018-01-11 09:39:06 -05:00
parent f7b49055cd
commit ad6f6bd283
2 changed files with 3 additions and 2 deletions

View File

@@ -188,7 +188,8 @@ function pwModalWindow(href, options, size) {
$iframe.data('settings', settings);
$iframe.load(function() {
if(typeof settings.title == "undefined" || !settings.title) {
$iframe.dialog('option', 'title', $iframe.contents().find('title').text());
var title = $('<textarea />').text($iframe.contents().find('title').text()).html();
$iframe.dialog('option', 'title', title);
}
$iframe.contents().find('form').css('-webkit-backface-visibility', 'hidden'); // to prevent jumping
});

File diff suppressed because one or more lines are too long