Skip to content

Commit df90f67

Browse files
committed
Fix coding standard errors.
1 parent bf024c1 commit df90f67

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/post-code.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ define([
2828
initObservable: function () {
2929
this._super();
3030

31-
this.value.equalityComparer = function(a, b) {
32-
return (!a && !b) || (a == b);
31+
this.value.equalityComparer = function (oldValue, newValue) {
32+
return !oldValue && !newValue || oldValue === newValue;
3333
};
3434

3535
return this;

0 commit comments

Comments
 (0)