Hi all,
my Website http://patanjala-yoga.org stopped showing the slideshow. I did nothing. Everything was working. A few days later without doing anything slideshow disappeared. Is not coming back. I tried activate/deactived, cleared cache etc., even I installed several older versions of the theme of the past and even new dev version. Nothing helps. How can I find out where this is coming from?
>Thank you!!

Comments

jacob87 created an issue. See original summary.

tibezh’s picture

Hi @jacob87

You have a js error in Console: Uncaught TypeError: a.indexOf is not a function.

Can you disable a js aggregation for the site? Without this action I can't help you.

Thank you

berlinonline2’s picture

Drupal 8.4.0 upgraded the jQuery library from 2 to 3. Maybe this is causing problems with the the .load() function, which is depreciated. Is somebody able to fix this?

berlinonline2’s picture

Hi Jacob87,

after a bit of research I found a solution to fix your problem.

1. Open the file \themes\business\js\custom.js
2. Change the secondline from:

{jQuery(window).load(function()

to

jQuery(window).on("load", function() {

3. Afterwards Clear the cache

:-)

berlinonline2’s picture

Status: Active » Needs review
tibezh’s picture

Thank you @berlinonline2!

Patch attached

  • tibezh authored 84cdd33 on 8.x-1.x
    Issue #2920983 by tibezh: Slideshow disappeared out of nowhere
    
tibezh’s picture

Version: 8.x-1.7 » 8.x-1.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.