Fix interaction between alert and mobile menu. A bit hack-ish, needs some more love.

This commit is contained in:
Rohan Mitchell
2015-06-16 16:28:45 +10:00
parent 02d68c662b
commit bf2a7f12e0
2 changed files with 18 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ Darkswarm.directive "ofnPageAlert", ($timeout) ->
restrict: 'A'
scope: true
link: (scope, elem, attrs) ->
container_elems = $(".off-canvas-wrap .inner-wrap, .off-canvas-wrap .inner-wrap .fixed")
container_elems = $(".off-canvas-wrap .inner-wrap, .off-canvas-wrap .inner-wrap .fixed, .page-alert")
# Wait a moment after page load before showing the alert. Otherwise we often miss the
# start of the animation.