j1-template 2023.2.3 → 2023.2.4

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +2 -2
  3. data/assets/themes/j1/adapter/js/attic.js +75 -40
  4. data/assets/themes/j1/adapter/js/fab.js +5 -3
  5. data/assets/themes/j1/adapter/js/lightbox.js +5 -3
  6. data/assets/themes/j1/adapter/js/masonry.js +4 -3
  7. data/assets/themes/j1/adapter/js/masterslider.js +1 -1
  8. data/assets/themes/j1/adapter/js/navigator.js +5 -3
  9. data/assets/themes/j1/adapter/js/scroller.js +5 -3
  10. data/assets/themes/j1/adapter/js/slick.js +4 -3
  11. data/assets/themes/j1/adapter/js/toccer.js +3 -1
  12. data/assets/themes/j1/adapter/js/translator.js +5 -3
  13. data/assets/themes/j1/adapter/js/waves.js +5 -3
  14. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +2 -2
  15. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  16. data/lib/j1/version.rb +1 -1
  17. data/lib/starter_web/README.md +5 -5
  18. data/lib/starter_web/_config.yml +1 -1
  19. data/lib/starter_web/_data/modules/attics.yml +25 -39
  20. data/lib/starter_web/_data/modules/defaults/attics.yml +21 -11
  21. data/lib/starter_web/_data/templates/feed.xml +1 -1
  22. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  23. data/lib/starter_web/index.html +2 -1
  24. data/lib/starter_web/package.json +1 -1
  25. data/lib/starter_web/pages/public/about/features.adoc +0 -1
  26. data/lib/starter_web/pages/public/about/reporting_issues.adoc +0 -1
  27. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  28. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  29. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  30. data/lib/starter_web/pages/public/features/general.adoc +0 -3
  31. data/lib/starter_web/pages/public/features/template.adoc +0 -3
  32. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +4 -1
  33. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +0 -1
  34. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +0 -1
  35. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +0 -1
  36. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +0 -1
  37. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +0 -1
  38. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +0 -1
  39. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +0 -1
  40. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +0 -1
  41. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +0 -1
  42. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +6 -8
  43. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +0 -1
  44. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +0 -1
  45. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +0 -1
  46. data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
  47. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  48. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  49. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +0 -1
  50. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  51. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +0 -1
  52. data/lib/starter_web/pages/public/plans/plans.adoc +0 -1
  53. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +0 -1
  54. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  55. data/lib/starter_web/utilsrv/package.json +1 -1
  56. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3481c1e515e538d4ff10407b707247783de76d2b265aecfeb265b199e0229e73
4
- data.tar.gz: 67551c9cc6710c41a687a1dbb1aa2f0d938100dbb8e0f90a532a1a2626e629a4
3
+ metadata.gz: b6773ac450953ee75c6f86fab1415d8e13912fcd1189d852a42106e192989c3e
4
+ data.tar.gz: a076cfab70f404ec9f1001841343d5eea7e13e33ef355475267278ee15930060
5
5
  SHA512:
6
- metadata.gz: a728afcb26f2ea060094660475f88925f3c48bc65d19f99fe72e4c6e62c7bc33edbde1f536fa4a0fbd6bc08cd2abde5e9086ee9ba5efb5f7e58c78d6236a8e9a
7
- data.tar.gz: ddc364bb096a2875e57dff172d1bc47354b23952655cb5b6de5f88263fc9761ebab940345678241c48ef6ccf13253074ab968d41fee574f8c5f34d50e2e69177
6
+ metadata.gz: 764bd237a644f2a4f82255436d0a4d49c07f55ed464c81f1b4ef33fe09314a44456e5467ef259ca16c39451d52f5b3c881ab3d9cf61e5e7568c55d0f6275e2a2
7
+ data.tar.gz: 85b4d6306d927d7a7319fa0183b59529f9f30677d2561fbf37fda6eb1f89a3eadb9a9c1d8d012f3565ddf2393ccd4c7a8ee32024a2f4931ec9158773a7863621
@@ -259,8 +259,8 @@ exclude_from_search: true
259
259
  <img
260
260
  class="sticker-image"
261
261
  src="/assets/images/sticker/600x600/sticker-new-version.png"
262
- alt="Get new version 2023.2.3"
263
- title="Get new version 2023.2.3"
262
+ alt="Get new version 2023.2.4"
263
+ title="Get new version 2023.2.4"
264
264
  style="width: 140px; height: 120px;"
265
265
  >
266
266
  </a>
@@ -148,11 +148,14 @@ j1.adapter.attic = (function (j1, window) {
148
148
  {% if attic_options.enabled %}
149
149
  logger.info('\n' + 'create all attics configured');
150
150
 
151
- // hide page while attic is being created
152
- // jadams, 2023-05-12: Visible page/attic cause high number
153
- // for cumulative layout shift (CLS)
154
- //
155
- $('#no_flicker').css('display', 'none');
151
+ if (atticOptions.hide_oninit) {
152
+ // hide page while attic is being created
153
+ // jadams, 2023-05-12: Visible page/attic cause high number
154
+ // for cumulative layout shift (CLS)
155
+ //
156
+ logger.debug('\n' + 'hide attics on initia.lization');
157
+ $('#no_flicker').css('display', 'none');
158
+ }
156
159
 
157
160
  _this.createAllAttics();
158
161
  clearInterval(dependencies_met_page_ready);
@@ -171,36 +174,36 @@ j1.adapter.attic = (function (j1, window) {
171
174
  // -------------------------------------------------------------------------
172
175
  createAllAttics: function () {
173
176
  var frontmatterOptions = _this.frontmatterOptions;
177
+
174
178
  // merge all attic options
175
179
  var atticOptions = $.extend(true, {}, _this.atticOptions, _this.frontmatterOptions);
176
180
 
177
- {% comment %} Load data from header config (yaml data file)
181
+ {% comment %} Load data from attic config (yaml data files)
178
182
  -------------------------------------------------------------------------- {% endcomment %}
179
183
  {% for item in attic_options.attics %}
180
184
  {% if item.attic.enabled %}
181
-
182
185
  {% assign attic_id = item.attic.id %}
183
186
 
184
- {% comment %} Collect CSS image filters
185
- -------------------------------------------------------------------------------- {% endcomment %}
186
- {% if item.attic.filters %}
187
- {% for filter in blog_navigator_options.filters %}
188
- {% capture css_filters %}{{css_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
189
- {% endfor %}
190
- {% capture image_filters %}filter:{{css_filters}}{% endcapture %}
191
- {% else %}
192
- {% assign image_filters = '' %}
193
- {% endif %}
194
-
195
- // Create the SPECIFIC header loader FUNCTION of type: {{attic_id}}
187
+ // Create the SPECIFIC header loader FUNCTION for id: {{attic_id}}
196
188
  function {{attic_id}} (atticOptions) {
189
+ var atticOptionsFilters = {};
190
+ var atticItemFilters = {};
191
+ var atticFilters = {};
192
+ var my_attic = $.extend({}, {{item.attic | replace: 'nil', 'null' | replace: '=>', ':' }});
197
193
 
198
194
  logger.info('\n' + 'initialize attic on id: {{attic_id}}');
199
195
 
200
- // convert attic filter settings to object to array to string
201
- atticFilters = $.extend({}, {{item.attic.filters | replace: 'nil', 'null' | replace: '=>', ':' }});
202
- filterArray = [];
203
- $.each(atticFilters, function(idx2,val2) {
196
+ // collect attic filter settings to object to array to string
197
+ //
198
+ {% if item.attic.filters %}
199
+ atticItemFilters = $.extend({}, {{item.attic.filters | replace: 'nil', 'null' | replace: '=>', ':' }});
200
+ {% endif %}
201
+
202
+ atticOptionsFilters = atticOptions.filters;
203
+ atticFilters = $.extend(true, {}, atticOptionsFilters, atticItemFilters);
204
+ filterArray = [];
205
+
206
+ $.each(atticFilters, function(idx2, val2) {
204
207
  var str = idx2 + '(' + val2 + ')';
205
208
  filterArray.push(str);
206
209
  });
@@ -247,7 +250,7 @@ j1.adapter.attic = (function (j1, window) {
247
250
  // Add event for pauseOnHover
248
251
  //
249
252
  if (atticOptions.pauseOnHover) {
250
- $('#attic_home').hover (
253
+ $('#attic_id').hover (
251
254
  function() {
252
255
  $('#{{attic_id}}').backstretch('pause'); },
253
256
  function() {
@@ -361,6 +364,7 @@ j1.adapter.attic = (function (j1, window) {
361
364
  // TODO: Add additional styles to head-title-text|head-tagline-
362
365
  // text (e.g. text-center)
363
366
  // atticOptions.tagline_align
367
+ //
364
368
  textOverlayHTML = ''
365
369
  + '<div id="head-title" class="head-title animate__animated ">'
366
370
  + ' <h2 id="head-title-text" class="notoc text-' + atticOptions.title_align + ' text-emphasis-stronger">' + textOverlayTitle + '</h2>'
@@ -368,25 +372,45 @@ j1.adapter.attic = (function (j1, window) {
368
372
  + '<div id="head-tagline" class="head-tagline animate__animated ">'
369
373
  + ' <h3 id="head-tagline-text" class="notoc text-' + atticOptions.tagline_align + '">' + textOverlayTagline + '</h3>'
370
374
  + '</div>';
371
- $('.textOverlay').html(textOverlayHTML).hide();
372
375
 
373
- $('#head-title').addClass(atticOptions.title_animate);
374
- $('#head-title').addClass(atticOptions.title_animate_delay);
375
- $('#head-title').addClass(atticOptions.title_animate_duration);
376
- $('#head-tagline').addClass(atticOptions.tagline_animate);
377
- $('#head-tagline').addClass(atticOptions.tagline_animate_duration);
376
+ // hide textOverlay while animate classes are being calculated
377
+ //
378
+ $('.textOverlay').html(textOverlayHTML).hide();
379
+
380
+ // collect individual title options
381
+ //
382
+ var title_animate = !!my_attic.title_animate ? my_attic.title_animate : atticOptions.title_animate;
383
+ var title_animate_delay = !!my_attic.title_animate_delay ? my_attic.title_animate_delay : atticOptions.title_animate_delay;
384
+ var title_animate_duration = !!my_attic.title_animate_duration ? my_attic.title_animate_duration : atticOptions.title_animate_duration;
385
+
386
+ $('#head-title').addClass(title_animate);
387
+ $('#head-title').addClass(title_animate_delay);
388
+ $('#head-title').addClass(title_animate_duration);
389
+
390
+ // collect individual tagline options
391
+ //
392
+ var tagline_animate = !!my_attic.tagline_animate ? my_attic.tagline_animate : atticOptions.tagline_animate;
393
+ var tagline_animate_delay = !!my_attic.tagline_animate_delay ? my_attic.tagline_animate_delay : atticOptions.tagline_animate_delay;
394
+ var tagline_animate_duration = !!my_attic.tagline_animate_duration ? my_attic.tagline_animate_duration : atticOptions.tagline_animate_duration;
395
+
396
+ $('#head-tagline').addClass(tagline_animate);
397
+ $('#head-tagline').addClass(tagline_animate_delay);
398
+ $('#head-tagline').addClass(tagline_animate_duration);
378
399
 
400
+ // show configured textOverlay
401
+ //
379
402
  $('.textOverlay').show();
380
403
  $('.textOverlay').css('opacity', '1');
381
404
 
382
- // jadams, 2022-08-19: show a badge only if defined
405
+ // jadams, 2022-08-19: show a badge only if configured
383
406
  //
384
407
  if (typeof instance.images[index].badge != 'undefined') {
385
408
  $('.attic-caption').show();
386
409
  $('.attic-caption').css('opacity', '1');
387
410
  }
388
411
 
389
- // show page if attic created
412
+ // show page if attic finalized
413
+ //
390
414
  $('#no_flicker').css('display', 'block');
391
415
 
392
416
  // jadams, 2022-08-09:
@@ -602,20 +626,31 @@ j1.adapter.attic = (function (j1, window) {
602
626
  attic_style += '} </style>';
603
627
  $('head').append(attic_style);
604
628
 
605
- // Initialze header sizes
606
- attic_style = '';
607
- attic_style = '<style> .attic { padding-top: ' +atticOptions.padding_top+ 'px; padding-bottom: ' +atticOptions.padding_bottom+ 'px; margin-bottom: ' +atticOptions.margin_bottom+ 'px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>';
629
+ // collect individual (title|tagline) options
630
+ //
631
+ var my_attic = $.extend({}, {{item.attic | replace: 'nil', 'null' | replace: '=>', ':' }});
632
+ var padding_top = !!my_attic.padding_top ? my_attic.padding_top : atticOptions.padding_top;
633
+ var padding_bottom = !!my_attic.padding_bottom ? my_attic.padding_bottom : atticOptions.padding_bottom;
634
+ var margin_bottom = !!my_attic.margin_bottom ? my_attic.margin_bottom : atticOptions.margin_bottom;
635
+
636
+ // frontmatter options takes precedence
637
+ //
638
+ if (typeof frontmatterOptions.padding_top != 'undefined') { padding_top = frontmatterOptions.padding_top; }
639
+ if (typeof frontmatterOptions.padding_bottom != 'undefined') { padding_bottom = frontmatterOptions.padding_bottom; }
640
+ if (typeof frontmatterOptions.margin_bottom != 'undefined') { margin_bottom = frontmatterOptions.margin_bottom; }
608
641
 
642
+ attic_style = '';
643
+ attic_style = '<style> .attic { padding-top: ' +padding_top+ 'px; padding-bottom: ' +padding_bottom+ 'px; margin-bottom: ' +margin_bottom+ 'px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>';
609
644
  $('head').append(attic_style);
645
+
610
646
  $('head').append('<style> .attic .head-title h2 { color: ' +atticOptions.title_color+ ';font-size: ' +atticOptions.title_size+ ' !important; text-align: ' +atticOptions.title_align+ ';} </style>');
611
647
  $('head').append('<style> .attic .head-tagline h3 { color: ' +atticOptions.tagline_color+ ';font-size: ' +atticOptions.tagline_size+ ' !important; text-align: ' +atticOptions.tagline_align+ '; } </style>');
612
648
 
613
- // Add opacity to all header images
649
+ // Add opacity to ALL header (backstretch) images
614
650
  // See: https://tympanus.net/codrops/2013/11/07/css-overlay-techniques/
615
- var attic_opacity;
616
-
617
- attic_opacity = '<style> .backstretch-item { opacity: ' +atticOptions.opacity+ '; </style>';
618
- $('head').append(attic_opacity);
651
+ var item_opacity = !!my_attic.opacity ? my_attic.opacity : atticOptions.opacity;
652
+ var backstretch_opacity = '<style> .backstretch-item { opacity: ' +item_opacity+ '; </style>';
653
+ $('head').append(backstretch_opacity);
619
654
 
620
655
  _this.setState('initialized');
621
656
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -185,9 +185,11 @@ j1.adapter.fab = (function (j1, window) {
185
185
  // Initialize FAB button
186
186
  // ---------------------------------------------------------------------
187
187
  var dependencies_met_fab_initialized = setInterval (function () {
188
- var pageState = $('#no_flicker').css("display");
189
- var pageVisible = (pageState == 'block') ? true: false;
190
- if (j1.xhrDOMState['#' + fabOptions.xhr_container_id] == 'success' && j1.getState() == 'finished' && pageVisible) {
188
+ var pageState = $('#no_flicker').css("display");
189
+ var pageVisible = (pageState == 'block') ? true: false;
190
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
191
+
192
+ if (j1.xhrDOMState['#' + fabOptions.xhr_container_id] == 'success' && j1.getState() == 'finished' && pageVisible && atticFinished ) {
191
193
  _this.setState('loaded');
192
194
  logger.info('\n' + 'set module state to: ' + _this.getState());
193
195
  logger.info('\n' + 'HTML data for FAB: ' + _this.getState());
@@ -132,9 +132,11 @@ j1.adapter.lightbox = (function (j1, window) {
132
132
  lightboxOptions = $.extend(true, {}, lightboxDefaults, lightboxSettings, frontmatterOptions);
133
133
 
134
134
  var dependencies_met_j1_finished = setInterval(function() {
135
- var pageState = $('#no_flicker').css("display");
136
- var pageVisible = (pageState == 'block') ? true: false;
137
- if (j1.getState() == 'finished' && pageVisible) {
135
+ var pageState = $('#no_flicker').css("display");
136
+ var pageVisible = (pageState == 'block') ? true: false;
137
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
138
+
139
+ if (j1.getState() == 'finished' && pageVisible && atticFinished) {
138
140
 
139
141
  _this.setState('started');
140
142
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -143,10 +143,11 @@ var logText;
143
143
  // initializer
144
144
  // -----------------------------------------------------------------------
145
145
  var dependencies_met_page_ready = setInterval (function (options) {
146
- var pageState = $('#no_flicker').css("display");
147
- var pageVisible = (pageState == 'block') ? true: false;
146
+ var pageState = $('#no_flicker').css("display");
147
+ var pageVisible = (pageState == 'block') ? true: false;
148
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
148
149
 
149
- if ( j1.getState() === 'finished' && pageVisible ) {
150
+ if ( j1.getState() === 'finished' && pageVisible && atticFinished) {
150
151
 
151
152
  _this.setState('started');
152
153
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -161,7 +161,7 @@ j1.adapter.masterslider = (function (j1, window) {
161
161
  // load the slider manager to DISPLAY instances in page (if visible)
162
162
  var dependencies_met_module_finished = setInterval(function() {
163
163
  var pageState = $('#no_flicker').css("display");
164
- var pageVisible = (pageState == 'block') ? true: false;
164
+ var pageVisible = (pageState == 'block') ? true : false;
165
165
  if (_this.getState() == 'sliders_initialized' && pageVisible ) {
166
166
  // TODO: Check why a timeout is required to load the Slider Manager
167
167
  setTimeout (function() {
@@ -406,10 +406,12 @@ j1.adapter.navigator = (function (j1, window) {
406
406
  // event handler|css styles
407
407
  // -----------------------------------------------------------------
408
408
  var dependencies_met_initialized = setInterval(function() {
409
- var pageState = $('#no_flicker').css("display");
410
- var pageVisible = (pageState == 'block') ? true: false;
409
+ var pageState = $('#no_flicker').css("display");
410
+ var pageVisible = (pageState == 'block') ? true: false;
411
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
412
+
411
413
  // initialize if page and themer ready
412
- if (j1.getState() === 'finished' && j1.adapter.themer.getState() === 'finished' && pageVisible) {
414
+ if (j1.getState() === 'finished' && j1.adapter.themer.getState() === 'finished' && pageVisible && atticFinished) {
413
415
  _this.setState('processing');
414
416
 
415
417
  // apply module configuration settings
@@ -144,9 +144,11 @@ var lastPageInfo;
144
144
 
145
145
  // initialize scrollers if page is available and visible
146
146
  var dependencies_met_page_ready = setInterval (function (options) {
147
- var pageState = $('#no_flicker').css("display");
148
- var pageVisible = (pageState == 'block') ? true: false;
149
- if ( j1.getState() === 'finished' && pageVisible ) {
147
+ var pageState = $('#no_flicker').css("display");
148
+ var pageVisible = (pageState == 'block') ? true: false;
149
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
150
+
151
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
150
152
  _this.generate_scrollers();
151
153
  _this.setState('finished');
152
154
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -158,10 +158,11 @@ j1.adapter.slick = (function (j1, window) {
158
158
  // initializer
159
159
  // -----------------------------------------------------------------------
160
160
  var dependencies_met_page_ready = setInterval (function (options) {
161
- var pageState = $('#no_flicker').css("display");
162
- var pageVisible = (pageState == 'block') ? true: false;
161
+ var pageState = $('#no_flicker').css("display");
162
+ var pageVisible = (pageState == 'block') ? true: false;
163
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
163
164
 
164
- if ( j1.getState() === 'finished' && pageVisible ) {
165
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
165
166
 
166
167
  {% for carousel in slick_settings.carousels %} {% if carousel.enabled %}
167
168
  logger.info('\n' + 'carousel is being initialized on id: ' + '{{carousel.id}}');
@@ -164,7 +164,9 @@ j1.adapter.toccer = (function () {
164
164
  var dependencies_met_navigator = setInterval(function() {
165
165
  var pageState = $('#no_flicker').css("display");
166
166
  var pageVisible = (pageState == 'block') ? true: false;
167
- if ( j1.getState() == 'finished' && pageVisible ) {
167
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
168
+
169
+ if (j1.getState() == 'finished' && pageVisible && atticFinished) {
168
170
  _this.initToccerCore(toccerOptions);
169
171
  _this.setState('finished');
170
172
 
@@ -202,9 +202,11 @@ j1.adapter.translator = (function (j1, window) {
202
202
  domainAttribute = '';
203
203
  }
204
204
 
205
- var pageState = $('#no_flicker').css("display");
206
- var pageVisible = (pageState == 'block') ? true: false;
207
- if ( j1.getState() === 'finished' && pageVisible ) {
205
+ var pageState = $('#no_flicker').css("display");
206
+ var pageVisible = (pageState == 'block') ? true: false;
207
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
208
+
209
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
208
210
  _this.setState('started');
209
211
  logger.debug('\n' + 'state: ' + _this.getState());
210
212
  logger.info('\n' + 'module is being initialized');
@@ -145,9 +145,11 @@ var logText;
145
145
  // initializer
146
146
  // -----------------------------------------------------------------------
147
147
  var dependencies_met_page_ready = setInterval (function (options) {
148
- var pageState = $('#no_flicker').css("display");
149
- var pageVisible = (pageState == 'block') ? true: false;
150
- if ( j1.getState() === 'finished' && pageVisible ) {
148
+ var pageState = $('#no_flicker').css("display");
149
+ var pageVisible = (pageState == 'block') ? true : false;
150
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
151
+
152
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
151
153
  themes_allowed = waveOptions.themes.toString();
152
154
  theme_enabled = waveOptions.themes.indexOf(theme) > -1 ? true : false;
153
155
 
@@ -14999,13 +14999,13 @@ table.tableblock > .title {
14999
14999
 
15000
15000
  .attic .head-title h2, .attic .head-title .h2 {
15001
15001
  margin-top: -1.2rem;
15002
- margin-bottom: 0 !important;
15002
+ margin-bottom: 0;
15003
15003
  font-weight: 600;
15004
15004
  line-height: 1.2; }
15005
15005
 
15006
15006
  .attic .head-tagline h3, .attic .head-tagline .h3 {
15007
15007
  margin-top: 0;
15008
- margin-bottom: 0 !important;
15008
+ margin-bottom: 0;
15009
15009
  font-weight: 400;
15010
15010
  line-height: 1; }
15011
15011