app/js/app.js in mangos-0.0.3 vs app/js/app.js in mangos-0.0.4

- old
+ new

@@ -1,18 +1,20 @@ var store = null; $(function() { - $(document).on("dragstart", "img", false); - $("#page-back").click(function() { utils.page(utils.page() - 1); }); $("#page-next").click(function() { utils.page(utils.page() + 1); }); + $("#page-home").click(function() { + location.hash = lastControllerLocation; + }); $(window).keydown(function(event) { - if(event.keyCode == 39) { + if(event.keyCode == 39 || ((event.keyCode == 32 || event.keyCode == 13) + && utils.scrollDistanceFromBottom() <= 0)) { event.preventDefault(); utils.page(utils.page() + 1); } else if(event.keyCode == 8 || event.keyCode == 37) { event.preventDefault();