diff --git a/openbar@neuromorph/extension.js b/openbar@neuromorph/extension.js index f716f91..ae8709b 100644 --- a/openbar@neuromorph/extension.js +++ b/openbar@neuromorph/extension.js @@ -383,15 +383,16 @@ export default class Openbar extends Extension { this.applySectionStyles(sectionList, add); const msgHbox = msgbox.get_child_at_index(1); // hbox at botton for dnd and clear buttons + let clearBtn; if(this.gnomeVersion < 49) { const dndBtn = msgHbox.get_child_at_index(1); this.applyMenuClass(dndBtn, add); const toggleSwitch = dndBtn.get_child_at_index(0); this.applyMenuClass(toggleSwitch, add); - const clearBtn = msgHbox.get_child_at_index(2); + clearBtn = msgHbox.get_child_at_index(2); } else { - const clearBtn = msgHbox.get_child_at_index(1); + clearBtn = msgHbox.get_child_at_index(1); } this.applyMenuClass(clearBtn, add); @@ -1661,4 +1662,3 @@ export default class Openbar extends Extension { this._shellSettings = null; } } - diff --git a/openbar@neuromorph/metadata.json b/openbar@neuromorph/metadata.json index 8f543f7..2554e71 100644 --- a/openbar@neuromorph/metadata.json +++ b/openbar@neuromorph/metadata.json @@ -12,9 +12,10 @@ "46", "47", "48", - "49" + "49", + "50" ], - "url": "https://github.com/neuromorph/openbar", + "url": "https://github.com/Dank-del/openbar", "uuid": "openbar@neuromorph", - "version": 42 + "version": 43 }