summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/index.html3
-rw-r--r--web-ui/app/js/foundation/off_canvas.js9
2 files changed, 5 insertions, 7 deletions
diff --git a/web-ui/app/index.html b/web-ui/app/index.html
index efa9ffe3..dd6228cc 100644
--- a/web-ui/app/index.html
+++ b/web-ui/app/index.html
@@ -82,8 +82,7 @@
</article>
<section id="right-pane" class="small-7 medium-7 large-7 columns">
- </section>
- <a class="exit-off-canvas"></a>
+ </section>
</div>
</div>
diff --git a/web-ui/app/js/foundation/off_canvas.js b/web-ui/app/js/foundation/off_canvas.js
index a7a39bba..805dfab8 100644
--- a/web-ui/app/js/foundation/off_canvas.js
+++ b/web-ui/app/js/foundation/off_canvas.js
@@ -20,8 +20,7 @@ define(['flight/lib/component', 'page/events'], function (defineComponent, event
return defineComponent(function() {
this.closeSlider = function (ev){
- ev.preventDefault();
- $('.exit-off-canvas').click();
+ $('.off-canvas-wrap.content').removeClass('move-right');
this.toggleTagsVisibility();
};
@@ -32,10 +31,10 @@ define(['flight/lib/component', 'page/events'], function (defineComponent, event
};
this.toggleTagsVisibility = function () {
- if ($('#custom-tag-list').hasClass('expanded')) {
- $('#custom-tag-list').removeClass('expanded');
- } else {
+ if ($('.off-canvas-wrap.content').hasClass('move-right')) {
$('#custom-tag-list').addClass('expanded');
+ } else {
+ $('#custom-tag-list').removeClass('expanded');
}
};