Skip to content

Commit 65bc612

Browse files
author
Steven Orvell
committed
Address review feedback.
1 parent cd6dd8a commit 65bc612

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/updating-element.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ export abstract class UpdatingElement extends HTMLElement {
586586
ctor._classProperties!.get(name) || defaultPropertyDeclaration;
587587
if (ctor._valueHasChanged(
588588
this[name as keyof this], oldValue, options.hasChanged)) {
589-
// Track old value when changing.
590589
if (!this._changedProperties.has(name)) {
591590
this._changedProperties.set(name, oldValue);
592591
}
@@ -601,8 +600,8 @@ export abstract class UpdatingElement extends HTMLElement {
601600
}
602601
this._reflectingProperties.set(name, options);
603602
}
604-
// Abort the request if the property should not be considered changed.
605603
} else {
604+
// Abort the request if the property should not be considered changed.
606605
shouldRequestUpdate = false;
607606
}
608607
}

0 commit comments

Comments
 (0)