diff --git a/controllers/prototype/views/prototype.jade b/controllers/prototype/views/prototype.jade index a9ddd83..2bbf4f0 100644 --- a/controllers/prototype/views/prototype.jade +++ b/controllers/prototype/views/prototype.jade @@ -96,7 +96,7 @@ block content p | You may now hide this panel and start playing ! - button#full.btn.btn-primary(style={'margin-right': '10px', 'margin-bottom': '10px', display: 'none'}) Fullscreen + button#full.btn.btn-primary(style={'margin-right': '10px', 'margin-bottom': '10px'}) Fullscreen button#reset.btn.btn-primary(style={'margin-right': '10px', 'margin-bottom':'10px'}) Reset camera button#undo.btn.btn-default(style={'margin-right': '10px', 'margin-bottom': '10px'}) diff --git a/static/js/prototype/ButtonManager.js b/static/js/prototype/ButtonManager.js index 8b71945..2d8e32c 100644 --- a/static/js/prototype/ButtonManager.js +++ b/static/js/prototype/ButtonManager.js @@ -13,7 +13,7 @@ var ButtonManager = function(cameras) { this.collisionElement = document.getElementById('collisions'); this.showarrowsElement = document.getElementById('showarrows'); - this.fullscreenElement.onclick = function() {}; + this.fullscreenElement.onclick = function() {fullscreen();}; (function(self) { self.undoElement.onclick = function() {self.cameras.mainCamera().undo(); self.updateElements();}