summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
authorGabriel Albo <gabriel@albo.com.br>2015-03-04 13:28:20 -0300
committerGabriel Albo <gabriel@albo.com.br>2015-03-04 13:28:26 -0300
commitf4b4cc3bae254324f5d957d5aadd9f35ec7ffb54 (patch)
tree99d41015e110157406b053622cc6988b557eac2c /web-ui/app
parent3597a909a5273b953668fefbd9f83530ec6b4ec9 (diff)
Alexandre/Albo - Fixing an issue with the custom tags visibility toggle not working when the user clicks on the mail list with the sidenav expanded.
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');
}
};