mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
There is a bug in the handling of % values for the "top" CSS property of the modals. See details here: https://github.com/kristinalim/angular-foundation/pull/1 A PR to the original repository has also been submitted, but the project doesn't seem to be active anymore: https://github.com/yalabot/angular-foundation/pull/319 And to another fork of the repository: https://github.com/cwadrupldijjit/angular-foundation/pull/1 The bug was causing the 10% "top" CSS property for the modal to be treated as 10px.
49 lines
1.2 KiB
CoffeeScript
49 lines
1.2 KiB
CoffeeScript
#= require jquery
|
|
#= require jquery_ujs
|
|
#= require jquery-ui
|
|
#= require spin
|
|
#
|
|
#= require angular
|
|
#= require angular-cookies
|
|
#= require angular-sanitize
|
|
#= require angular-animate
|
|
#= require angular-resource
|
|
#= require lodash.underscore.js
|
|
#= require angular-scroll.min.js
|
|
#= require angular-google-maps.min.js
|
|
#= require ../shared/mm-foundation-tpls-0.9.0-20180826174721.min.js
|
|
#= require ../shared/ng-infinite-scroll.min.js
|
|
#= require ../shared/angular-local-storage.js
|
|
#= require ../shared/angular-slideables.js
|
|
#= require angularjs-file-upload
|
|
#= require i18n/translations
|
|
|
|
#= require angular-rails-templates
|
|
#= require_tree ../templates
|
|
#
|
|
#= require angular-backstretch.js
|
|
#= require angular-flash.min.js
|
|
#
|
|
#= require moment
|
|
#= require moment/en-gb.js
|
|
#= require moment/es.js
|
|
#= require moment/fr.js
|
|
#= require moment/it.js
|
|
#= require moment/nb.js
|
|
#= require moment/pt-br.js
|
|
#= require moment/sv.js
|
|
#
|
|
#= require modernizr
|
|
#
|
|
#= require foundation
|
|
#= require ./darkswarm
|
|
#= require ./overrides
|
|
#= require_tree ./mixins
|
|
#= require_tree ./directives
|
|
#= require_tree .
|
|
|
|
$ ->
|
|
# Hacky fix for issue - http://foundation.zurb.com/forum/posts/2112-foundation-5100-syntax-error-in-js
|
|
Foundation.set_namespace ""
|
|
$(document).foundation()
|