Skip to content

Commit 6b75d05

Browse files
authored
Merge pull request #5 from jmulet/develop
Release candidate 2
2 parents 05c6eea + 64dcbdb commit 6b75d05

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

amd/build/util.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/util.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ const bindingFactory = function($e) {
771771
let newValue;
772772
if (styValue) {
773773
// Case val <= 0 && styName contains width or height
774-
if ((styName.includes("width") || styName.includes("height")) && (parseFloat(val + '') < 0)) {
774+
if ((styName.includes("width") || styName.includes("height")) && (parseFloat(val + '') <= 0)) {
775775
newValue = '';
776776
} else {
777777
const oldValue = elem.prop('style').getPropertyValue(styName) ?? '';

0 commit comments

Comments
 (0)