minor anti-xss changes...

This commit is contained in:
Caleb James DeLisle
2017-08-24 13:53:42 +02:00
parent 75fde58846
commit 7bbea28831
6 changed files with 765 additions and 17 deletions

View File

@@ -67,7 +67,9 @@ define([
logLevel: logLevel
});
chainpad.onMessage(function(message, cb) {
sframeChan.query('Q_RT_MESSAGE', message, cb);
sframeChan.query('Q_RT_MESSAGE', message, function (ret) {
if (ret === 'OK') { cb(); }
});
});
chainpad.onPatch(function () {
onRemote({ realtime: chainpad });