diff --git a/html/js/activity_icon.js b/html/js/activity_icon.js
index 5f0bd9c..977ee82 100644
--- a/html/js/activity_icon.js
+++ b/html/js/activity_icon.js
@@ -46,10 +46,7 @@ class Activity {
off = this.#set.bind(this, Activity._states.off, 0);
idle = this.#set.bind(this, Activity._states.idle, 0);
error = this.#set.bind(this, Activity._states.error, 0);
-
- ok(timeout = this.#idleTimeout) {
- this.#set(Activity._states.ok, timeout);
- }
+ ok = (timeout = this.#idleTimeout) => this.#set(Activity._states.ok, timeout);
}
diff --git a/html/js/activity_icon.min.js b/html/js/activity_icon.min.js
index b494ba9..ac6e714 100644
--- a/html/js/activity_icon.min.js
+++ b/html/js/activity_icon.min.js
@@ -1 +1 @@
-class i{static t={ok:Symbol("ok"),off:Symbol("off"),idle:Symbol("idle"),error:Symbol("error")};#i;#o=null;#h=i.t.off;l;constructor(t,i=0){this.l=t,this.#i=i}v(t,i){}#m(t,i=0){this.#o&&(clearTimeout(this.#o),this.#o=null),this.#h!=t&&(this.v(t,this.#h),this.#h=t),i&&(this.#o=setTimeout(this.idle,i))}off=this.#m.bind(this,i.t.off,0);idle=this.#m.bind(this,i.t.idle,0);error=this.#m.bind(this,i.t.error,0);ok(t=this.#i){this.#m(i.t.ok,t)}}class s extends i{static#g={[i.t.ok]:"img/activity-icon/activity-icon--state-ok.svg",[i.t.off]:"img/activity-icon/activity-icon--state-off.svg",[i.t.idle]:"img/activity-icon/activity-icon--state-idle.svg",[i.t.error]:"img/activity-icon/activity-icon--state-error.svg"};v(t,i){this.l.href=s.#g[t]}}class e extends i{static#S={[i.t.ok]:"activity-icon--state-ok",[i.t.off]:"activity-icon--state-off",[i.t.idle]:"activity-icon--state-idle",[i.t.error]:"activity-icon--state-error"};v(t,i){this.l.classList.remove(e.#S[i]),this.l.classList.add(e.#S[t])}}export{s as PageIconActivity,e as ClassActivity};
+class i{static t={ok:Symbol("ok"),off:Symbol("off"),idle:Symbol("idle"),error:Symbol("error")};#i;#o=null;#h=i.t.off;l;constructor(t,i=0){this.l=t,this.#i=i}v(t,i){}#m(t,i=0){this.#o&&(clearTimeout(this.#o),this.#o=null),this.#h!=t&&(this.v(t,this.#h),this.#h=t),i&&(this.#o=setTimeout(this.idle,i))}off=this.#m.bind(this,i.t.off,0);idle=this.#m.bind(this,i.t.idle,0);error=this.#m.bind(this,i.t.error,0);ok=(t=this.#i)=>this.#m(i.t.ok,t)}class s extends i{static#g={[i.t.ok]:"img/activity-icon/activity-icon--state-ok.svg",[i.t.off]:"img/activity-icon/activity-icon--state-off.svg",[i.t.idle]:"img/activity-icon/activity-icon--state-idle.svg",[i.t.error]:"img/activity-icon/activity-icon--state-error.svg"};v(t,i){this.l.href=s.#g[t]}}class e extends i{static#S={[i.t.ok]:"activity-icon--state-ok",[i.t.off]:"activity-icon--state-off",[i.t.idle]:"activity-icon--state-idle",[i.t.error]:"activity-icon--state-error"};v(t,i){this.l.classList.remove(e.#S[i]),this.l.classList.add(e.#S[t])}}export{s as PageIconActivity,e as ClassActivity};