-
+
Station
@@ -107,13 +111,19 @@
-
-
-
-
0 / 0
-
+
+
+
+
diff --git a/public/js/bootstrap-loader.js b/public/js/bootstrap-loader.js
index b59b89c..9baf6a7 100644
--- a/public/js/bootstrap-loader.js
+++ b/public/js/bootstrap-loader.js
@@ -43,11 +43,10 @@
function initializeJqueryUi() {
const $ = window.jQuery;
$('#bootstrap-retry').button({ icon: 'ui-icon-refresh' });
- $('.back-button').button({ icon: 'ui-icon-caret-1-w' });
+ $('.back-button').button();
$('#clear-route-search').button({ icon: 'ui-icon-close', showLabel: false });
- $('#slide-prev').button({ icon: 'ui-icon-caret-1-w', showLabel: false });
- $('#slide-next').button({ icon: 'ui-icon-caret-1-e', showLabel: false });
- $('#slide-controls').controlgroup();
+ $('#slide-prev').button();
+ $('#slide-next').button();
}
async function boot() {
diff --git a/public/js/slideshow.js b/public/js/slideshow.js
index 1245c32..9ea0b03 100644
--- a/public/js/slideshow.js
+++ b/public/js/slideshow.js
@@ -29,6 +29,7 @@
function render() {
const hasImages = images.length > 0;
$('#slideshow').toggle(hasImages);
+ $('#slide-controls').attr('data-image-count', images.length);
if (!hasImages) return;
const image = images[index];