aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index 1bdbcde..0e3dac4 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -329,7 +329,7 @@ function removeDuplicates (arr) {
// ============================================
/**
* object to pack messaging. Use as in
- postMessage(new Message("GetPassword", {
+ self.postMessage(new Message("GetPassword", {
login: login,
hostname: location.hostname
}));
@@ -340,7 +340,7 @@ function Message(cmd, data) {
}
function log(msg) {
- postMessage(new Message("LogMessage", msg));
+ self.postMessage(new Message("LogMessage", msg));
}
var NotLoggedinException = function NotLoggedinException (message) {