We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b57f3d8 commit 9d9b593Copy full SHA for 9d9b593
src/Swup/Resources/assets/src/controller.js
@@ -23,7 +23,7 @@ export default class extends Controller {
23
cache: this.element.hasAttribute('data-cache'),
24
animateHistoryBrowsing: this.element.hasAttribute('data-animate-history-browsing'),
25
plugins: [
26
- 'slide' === this.element.hasAttribute('data-theme') ? new SwupSlideTheme() : new SwupFadeTheme(),
+ 'slide' === this.element.getAttribute('data-theme') ? new SwupSlideTheme() : new SwupFadeTheme(),
27
new SwupFormsPlugin(),
28
],
29
};
0 commit comments