Skip to content

Commit 9397bc2

Browse files
authored
addon api.js -- export Tab class for me only :trollface:
1 parent 146cf43 commit 9397bc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/addons/api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,8 @@ class AddonRunner {
714714
addon: {
715715
tab: new Tab(id),
716716
settings: new Settings(id, manifest),
717-
self: new Self(id, this.getResource.bind(this))
717+
self: new Self(id, this.getResource.bind(this)),
718+
tabClass: id ==== "editor-animations" ? Tab : "access denied"
718719
},
719720
msg: this.msg.bind(this),
720721
safeMsg: this.safeMsg.bind(this)

0 commit comments

Comments
 (0)