Skip to content

Commit

Permalink
Fixed on usage in todos to match aurajs#161
Browse files Browse the repository at this point in the history
  • Loading branch information
atesgoral committed Nov 22, 2012
1 parent 9187830 commit 2429eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/todos/main.js
Expand Up @@ -11,7 +11,7 @@ define(['sandbox', './views/app'], function(sandbox, AppView) {
sandbox.log('Todos-bootstrap message from: ' + from);
});

sandbox.on('set-language', 'todos', function(lang) {
sandbox.on('set-language', function(lang) {
sandbox.log('Language set to: ' + lang);
// Enclose inside tags for easy parsing via split
window.document.cookie = 'lang=<lang>' + lang + '</lang>';
Expand Down

0 comments on commit 2429eff

Please sign in to comment.