summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2015-02-13 17:44:17 -0200
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2015-02-19 16:41:24 -0200
commit8e2143bce8c05d1e7ad6e9fbb4052b80ef49da9d (patch)
treed068a3d890ad697bcadada614e7842e28b34e4ed /web-ui
parentc29cca2228684a1e3e2424b4d672c0e6ff10ebbe (diff)
#239 Avoid pushing window state when clicking the menu sandwich
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/app/index.html b/web-ui/app/index.html
index b4fc999b..87ab000d 100644
--- a/web-ui/app/index.html
+++ b/web-ui/app/index.html
@@ -86,7 +86,8 @@ $(document).foundation();
</script>
<script>
-$('.fake-left-off-canvas-toggle').on('click', function () {
+$('.fake-left-off-canvas-toggle').click(function (ev) {
+ ev.preventDefault();
$('.left-off-canvas-toggle').click();
});
</script>