diff --git a/web/html/javascript/spacewalk-essentials.js b/web/html/javascript/spacewalk-essentials.js
index 167e843d1773..2cc2f13fa0be 100644
--- a/web/html/javascript/spacewalk-essentials.js
+++ b/web/html/javascript/spacewalk-essentials.js
@@ -99,7 +99,8 @@ function sstScrollBehaviorSetup(sst) {
// when the page scrolls down and the toolbar is going up and hidden,
// the toolbar takes a fixed place right below the header bar
function handleSst() {
- var sst = jQuery('.spacewalk-section-toolbar');
+ // Some pages may have multiple instances of this element
+ var sst = jQuery('.spacewalk-section-toolbar').first();
if (jQuery('.move-to-fixed-toolbar').length > 0) {
// if there is no 'spacewalk-section-toolbar', then create it
@@ -143,7 +144,7 @@ function handleSst() {
}
function sstStyle() {
- var sst = jQuery('.spacewalk-section-toolbar');
+ var sst = jQuery('.spacewalk-section-toolbar').first();
if (sst.hasClass('fixed')) {
sst.css({
top: jQuery('header').outerHeight() - 1,
diff --git a/web/spacewalk-web.changes.eth.multi-sst b/web/spacewalk-web.changes.eth.multi-sst
new file mode 100644
index 000000000000..5dd22cb729e4
--- /dev/null
+++ b/web/spacewalk-web.changes.eth.multi-sst
@@ -0,0 +1 @@
+- Fix sticky header infinite scroll