Fix notifications displayed once per tab

pull/1/head
yflory 5 years ago
parent 21591b0adc
commit 39dbea0c10

@ -1995,7 +1995,8 @@ define([
broadcast([], "UPDATE_METADATA");
},
pinPads: function (data, cb) { Store.pinPads(null, data, cb); },
}, waitFor, function (ev, data, clients, cb) {
}, waitFor, function (ev, data, clients, _cb) {
var cb = Util.once(_cb || function () {});
clients.forEach(function (cId) {
postMessage(cId, 'MAILBOX_EVENT', {
ev: ev,

Loading…
Cancel
Save