1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-20 20:41:26 +02:00

Include properties file in XPI.

--HG--
extra : rebase_source : 805462bb09d1ac9011796e08bc67cbd704a733a4
This commit is contained in:
Kris Maglione
2011-02-26 08:35:41 -05:00
parent 6ecdef37dd
commit 32d119561d
2 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ MAKE_JAR = sh $(BASE)/make_jar.sh
# TODO: specify source files manually?
JAR_BASES = $(TOP) $(BASE)
JAR_DIRS = content skin locale modules
JAR_TEXTS = js jsm css dtd xml xul html xhtml xsl
JAR_TEXTS = js jsm css dtd xml xul html xhtml xsl properties
JAR_BINS = png
CHROME = $(MANGLE)/
+2
View File
@@ -1130,6 +1130,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
},
onClick: function onClick(event) {
if (event.originalTarget instanceof Element) {
let command = event.originalTarget.getAttributeNS(NS, "command");
if (command && event.button == 0) {
event.preventDefault();
@@ -1140,6 +1141,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
dactyl.commands[command](event);
});
}
}
},
onExecute: function onExecute(event) {