Skip to content
Snippets Groups Projects
Commit ef9060f2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #985982 by iLLin: overlay resizes toolbar after closing.

parent cc927672
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -452,7 +452,7 @@ Drupal.overlay.eventhandlerAlterDisplacedElements = function (event) { ...@@ -452,7 +452,7 @@ Drupal.overlay.eventhandlerAlterDisplacedElements = function (event) {
Drupal.overlay.eventhandlerRestoreDisplacedElements = function (event) { Drupal.overlay.eventhandlerRestoreDisplacedElements = function (event) {
var $displacedElements = $('.overlay-displace-top, .overlay-displace-bottom'); var $displacedElements = $('.overlay-displace-top, .overlay-displace-bottom');
try { try {
$displacedElements.css({ maxWidth: null, clip: null }); $displacedElements.css({ maxWidth: '', clip: '' });
} }
// IE bug that doesn't allow unsetting style.clip (http://dev.jquery.com/ticket/6512). // IE bug that doesn't allow unsetting style.clip (http://dev.jquery.com/ticket/6512).
catch (err) { catch (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment