even:alert socket call -> app.alert

This commit is contained in:
psychobunny
2015-02-20 15:07:43 -05:00
parent b26bf9f22d
commit fbbd405b00

View File

@@ -70,6 +70,10 @@ app.cacheBuster = null;
window.location.href = config.relative_path + '/';
}, 1000);
});
socket.on('event:alert', function(data) {
app.alert(data);
});
}
function onSocketConnect(data) {