@moreonion/foundist 3.2.2 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moreonion/foundist",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Foundation based default theme for Impact Stack landing pages.",
5
5
  "author": "More Onion <kontakt@more-onion.at>",
6
6
  "license": "MIT",
@@ -15,16 +15,16 @@ import {
15
15
  /* eslint-enable no-unused-vars */
16
16
 
17
17
  import {
18
- initEventBridge,
19
18
  AdaptiveSticky,
20
19
  CookieBar,
21
20
  FileUpload,
22
21
  SelectTwo,
23
22
  Share,
23
+ Slideshow,
24
24
  StickyButton,
25
25
  ToggleElement,
26
26
  UserAgent,
27
- Slideshow,
27
+ initEventBridge,
28
28
  } from '@moreonion/foundation-base'
29
29
 
30
30
  // Add the select2 to jQuery
@@ -75,7 +75,7 @@ export function initFoundation () {
75
75
  * @returns {AdaptiveSticky|undefined} The initialized AdaptiveSticky plugin
76
76
  */
77
77
  export function stickyForm (options = {}) {
78
- const $form = $('#sidebar form, #sidebar .share-buttons')
78
+ const $form = $('#sidebar #form, #sidebar .share-buttons')
79
79
  if (!$form.length) {
80
80
  return
81
81
  }
@@ -84,7 +84,7 @@ export function stickyForm (options = {}) {
84
84
  $sidebar.children().wrapAll('<div class="sticky" />')
85
85
  // Let the actual form inside #form stick to the window top.
86
86
  return new Foundation.AdaptiveSticky($sidebar.children('.sticky'), {
87
- target: '#form-outer form, #form-outer .share-buttons ul',
87
+ target: '#form-outer #form, #form-outer .share-buttons ul',
88
88
  offset: $('#form-outer').css('padding-top'),
89
89
  mediaQuery: 'large',
90
90
  ...options