Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-beeclever committed Sep 29, 2024
1 parent 03129d3 commit ff19ab3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions assets/quantity-rocker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class QuantityRocker extends HTMLElement {
#initialized = false;
#value = 1;
#min = 0;
#max = 999;
Expand All @@ -14,11 +13,10 @@ class QuantityRocker extends HTMLElement {
connectedCallback() {
this.#shadow = this.attachShadow({ mode: "open" });
this.render();

this.#initialized = true;
}

render() {
this.#shadow = this.#shadow || this.attachShadow({ mode: "open" });
this.#shadow.innerHTML = `
<style>
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}
Expand Down

0 comments on commit ff19ab3

Please sign in to comment.