this.lastHash = location.hash;
this.urlSwitch();
- //setInterval(this.hashCheck.bind(this), 250);
+ setInterval(this.hashCheck.bind(this), 250);
document.body.addEventListener('keyup', function(event) {
if (event.shiftKey && event.keyCode == 32) {
classes: "blerg-main",
currentView: null,
updateView: function(objdef) {
- if (!this.currentView || this.currentView.kind != this.currentView.kind) {
+ if (!this.currentView || objdef.kind != this.currentView.kind) {
this.destroyComponents();
this.currentView = this.createComponent(objdef);
this.currentView.render();