From d0024630326af8a6dbe40f5974d72d0746cf87a1 Mon Sep 17 00:00:00 2001 From: JustOff Date: Sun, 22 Apr 2018 00:43:24 +0300 Subject: [PMkit] Mark 'sdk/panel' as compatible with Pale Moon --- toolkit/jetpack/sdk/panel.js | 1 + 1 file changed, 1 insertion(+) (limited to 'toolkit/jetpack/sdk') diff --git a/toolkit/jetpack/sdk/panel.js b/toolkit/jetpack/sdk/panel.js index 4b625799d..34cde2edd 100644 --- a/toolkit/jetpack/sdk/panel.js +++ b/toolkit/jetpack/sdk/panel.js @@ -8,6 +8,7 @@ module.metadata = { "stability": "stable", "engines": { + "Palemoon": "*", "Firefox": "*", "SeaMonkey": "*" } -- cgit v1.2.3 From 54db9d2005c9e0450c902805c7a94fbda12f46cb Mon Sep 17 00:00:00 2001 From: JustOff Date: Sun, 22 Apr 2018 00:44:42 +0300 Subject: [PMkit] Fix the shim for 'sdk/ui/button' --- toolkit/jetpack/sdk/ui/button/view.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toolkit/jetpack/sdk') diff --git a/toolkit/jetpack/sdk/ui/button/view.js b/toolkit/jetpack/sdk/ui/button/view.js index 552aab2f7..dcc3be59d 100644 --- a/toolkit/jetpack/sdk/ui/button/view.js +++ b/toolkit/jetpack/sdk/ui/button/view.js @@ -141,11 +141,11 @@ function create(options) { CustomizableUI.createWidget({ #endif id: id, + type: 'custom', #ifdef MC_PALEMOON onBuild: function(document, _id) { #else - type: 'custom', removable: true, defaultArea: AREA_NAVBAR, allowedAreas: [ AREA_PANEL, AREA_NAVBAR ], @@ -167,9 +167,7 @@ function create(options) { node.setAttribute('id', this.id); #endif node.setAttribute('class', 'toolbarbutton-1 chromeclass-toolbar-additional badged-button'); -#ifndef MC_PALEMOON node.setAttribute('type', type); -#endif node.setAttribute('label', label); node.setAttribute('tooltiptext', label); node.setAttribute('image', image); -- cgit v1.2.3