Problem/Motivation
The module works perfectly when logged in, but it fails for Anonymous User on all devices.
On small devices (smartphone), a style which contains the enlarged image is mandatory. Inner Zoom, f.e.
Doesn't work for Anonymous at all
I tracked this down to this error, which only appears on Anonymous users:
Uncaught ReferenceError: Drupal is not defined
This seems to relate to
(function($){'use strict';Drupal.behaviors.easyzoom={attach:function(context,settings){var shadow_color=drupalSettings.elevate_tint_shadow_color;var …
Comments
Comment #2
nofue commentedComment #3
nofue commentedComment #4
nofue commentedThe js error seems to be fixed:
https://www.drupal.org/project/drupal/issues/2953293
Comment #5
nofue commentedThis is the fix -- add the dependency to -core/drupal and everything works as advertised.
Comment #6
keshavv commentedReleased, Thank you!
Comment #7
keshavv commented