Skip to content

Commit

Permalink
chore(testing): remove the default ionic bundle for the ionic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Oct 28, 2024
1 parent a5a7bee commit f24d8fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/scripts/testing/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
linkTag.setAttribute('href', '/css/ionic/bundle.ionic.css');
document.head.appendChild(linkTag);
}

const defaultThemeLinkTag = document.querySelector('link[href*="css/ionic/ionic.bundle.css"]');
if (defaultThemeLinkTag) {
defaultThemeLinkTag.remove();
}
}

window.Ionic = window.Ionic || {};
Expand Down

0 comments on commit f24d8fb

Please sign in to comment.