Mithril Architecture Example

Mithril Example.  http://lhorie.github.io/mithril/ 
Changing this to:

```js
config: function (element) {
	if (task.editing() && element !== document.activeElement) {
		element.value = task.title();
		element.focus();
	}
},
```

fixes the problem mentioned by @sindresorhus, but I have no idea if that's the right approach or not.

As it stands, element.focus() is being called 2 x key event.