Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I have 2 superfish menus in blocks and the supersubs plugin applied to one of the menus I end up with an issue where the clientWidth of the sf-navbar > li > ul children is undefined. The menu that has supersubs did not have any children so I just turned the plugin off and all is well. The lines of code in question are in supersubs.js on lines 38 and 39 as of Supersubs v0.3b. This issue prevents Drupal Behaviors from executing, though I am not sure why.
size = fontsize.attr('style','padding:0;position:absolute;top:-99999em;width:auto;').appendTo($$)[0].clientWidth;
Comments
Comment #1
Vacilando CreditAttribution: Vacilando commentedSame problem on dev module and the master library :-(
In my case this problem broke the functionality of Syntaxhighlighter.
For the moment my only solution was to switch off SUPERSUBS in the Superfish block settings.
Comment #2
mehrpadin CreditAttribution: mehrpadin commentedHey,
Couldn't reproduce this, can you please put these online, if they are not, so I can take a look thanks :) email me the URLs.
Comment #3
LOBsTerr CreditAttribution: LOBsTerr at European Commission and European Union Institutions, Agencies and Bodies commented