Skip to content

Commit

Permalink
Merge pull request #44 from DSE-Western-Thessaloniki/add_scrollbar_to…
Browse files Browse the repository at this point in the history
…_iframes

Add scrollbar to iframes
  • Loading branch information
JLTRY authored Apr 16, 2024
2 parents 03e985c + fc93e3e commit d31bfe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@ public static function attachmentButtonsHTML($parent_type, $parent_id, $parent_e
'libraries.html.bootstrap.modal.main',
[
'selector' => 'modal-' . $randomId,
'body' => "<iframe src=\"$url\" scrolling=\"no\" loading=\"lazy\"></iframe>",
'body' => "<iframe src=\"$url\" scrolling=\"yes\" loading=\"lazy\"></iframe>",
'params' => $modalParams
]
);
Expand Down
4 changes: 2 additions & 2 deletions attachments_component/site/tmpl/attachments/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
'libraries.html.bootstrap.modal.main',
[
'selector' => 'modal-' . $randomId,
'body' => "<iframe src=\"$update_url\" scrolling=\"no\" loading=\"lazy\"></iframe>",
'body' => "<iframe src=\"$update_url\" scrolling=\"yes\" loading=\"lazy\"></iframe>",
'params' => $modalParams
]
);
Expand Down Expand Up @@ -359,7 +359,7 @@
'libraries.html.bootstrap.modal.main',
[
'selector' => 'modal-' . $randomId,
'body' => "<iframe src=\"$delete_url\" scrolling=\"no\" loading=\"lazy\"></iframe>",
'body' => "<iframe src=\"$delete_url\" scrolling=\"yes\" loading=\"lazy\"></iframe>",
'params' => $modalParams
]
);
Expand Down

0 comments on commit d31bfe1

Please sign in to comment.