From 4d4ccb99baa1c8dcb6a0226031fcafd28466f7d3 Mon Sep 17 00:00:00 2001 From: Richard Benjamin Allen Date: Wed, 18 Sep 2024 00:16:41 +0100 Subject: [PATCH] Fixed: Removed unused style attributes --- src/overlay.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/overlay.js b/src/overlay.js index bc903659..61f5fa88 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -283,11 +283,9 @@ style.left = position.x + "px"; style.top = position.y + "px"; if (this.width !== null) { - style.width = size.x + "px"; innerStyle.width = size.x + "px"; } if (this.height !== null) { - style.height = size.y + "px"; innerStyle.height = size.y + "px"; } var transformOriginProp = $.getCssPropertyWithVendorPrefix(