Commit ef9060f2 authored by Dries's avatar Dries

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

parent cc927672
......@@ -452,7 +452,7 @@ Drupal.overlay.eventhandlerAlterDisplacedElements = function (event) {
Drupal.overlay.eventhandlerRestoreDisplacedElements = function (event) {
var $displacedElements = $('.overlay-displace-top, .overlay-displace-bottom');
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).
catch (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment