Skip to content
Permalink
Browse files

Add start mission button

  • Loading branch information...
jcs224 committed Feb 3, 2018
1 parent 2893d9b commit 125960f21b7f88fc7578367251356d5a18599da2
Showing with 12 additions and 5 deletions.
  1. +12 −5 src/app.js
@@ -6,8 +6,15 @@ var state = require("./state");

var m = require("mithril");

m.render($('.buttons')[0], m('button', {
onclick: () => {
state.center_map = state && state.center_map ? false : true;
}
}, 'Center map'));
m.render($('.buttons')[0], [
m('button', {
onclick: () => {
state.center_map = state && state.center_map ? false : true;
}
}, 'Center map'),
m('button', {
onclick: () => {
console.log('This will start missions one day.');
}
}, 'Start Mission'),
]);

0 comments on commit 125960f

Please sign in to comment.
You can’t perform that action at this time.