Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • b6e7d698
    Issue #3248309 by danflanagan8: AssertBreadcrumbTrait should not rely on Classy · b6e7d698
    catch authored
    (cherry picked from commit 77bd32e3)
@@ -100,7 +100,7 @@ protected function assertBreadcrumbParts($trail) {
@@ -100,7 +100,7 @@ protected function assertBreadcrumbParts($trail) {
*/
*/
protected function getBreadcrumbParts() {
protected function getBreadcrumbParts() {
$parts = [];
$parts = [];
$elements = $this->xpath('//nav[@class="breadcrumb"]/ol/li/a');
$elements = $this->xpath('//nav[@aria-labelledby="system-breadcrumb"]/ol/li/a');
if (!empty($elements)) {
if (!empty($elements)) {
foreach ($elements as $element) {
foreach ($elements as $element) {
$parts[] = [
$parts[] = [
Loading