Fix a typo
authorAlexander Ebert <ebert@woltlab.com>
Mon, 17 Jul 2023 11:19:19 +0000 (13:19 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Jul 2023 11:19:19 +0000 (13:19 +0200)
Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php

index 9412e9b2ae8616c5865884bae5db544d6f5257f7..a6694618a48a82c4a8e826dc057f3db84c4e0092 100644 (file)
@@ -274,7 +274,7 @@ class HtmlInputNodeImg extends AbstractHtmlInputNode
                 $style .= "; ";
             }
 
-            $style .= "widht: {$width}";
+            $style .= "width: {$width}";
             $element->setAttribute("style", $style);
         } else {
             $element->removeAttribute("data-width");