aboutsummaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/js/lustiges-script.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index accedb9..ffd1e95 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -160,6 +160,10 @@ $(function() {
$('audio').mediaelementplayer({
features: ['playpause', 'volume', 'current']
});
+
+ $(window).on('load', function() {
+ $(window).trigger('resize');
+ });
});