Show More
@@ -611,7 +611,7 b' define(["widgets/js/manager",' | |||||
611 | /** |
|
611 | /** | |
612 | * Makes browser interpret a numerical string as a pixel value. |
|
612 | * Makes browser interpret a numerical string as a pixel value. | |
613 | */ |
|
613 | */ | |
614 | if (/^\d+\.?(\d+)?$/.test(value.trim())) { |
|
614 | if (value && /^\d+\.?(\d+)?$/.test(value.trim())) { | |
615 | return value.trim() + 'px'; |
|
615 | return value.trim() + 'px'; | |
616 | } |
|
616 | } | |
617 | return value; |
|
617 | return value; |
General Comments 0
You need to be logged in to leave comments.
Login now