jenkins-bot has submitted this change and it was merged.
Change subject: Make actions box available to non-JS users
......................................................................
Make actions box available to non-JS users
Action boxes (currently only used for moderation) are represented by some icon
(.flow-actions-link) that, when clicked, display a flyout window
(.flow-actions-flyout)
Non-JS users won't have javascript bind the event to display the flyout, so
let's make sure the functionality is not hidden from them.
Change-Id: I0f989bb5c1df5c0971df1bf141fad4ce4fc489ba
---
M modules/base/styles/actionbox.less
1 file changed, 11 insertions(+), 0 deletions(-)
Approvals:
Werdna: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/base/styles/actionbox.less
b/modules/base/styles/actionbox.less
index 714b09d..fe2bf03 100644
--- a/modules/base/styles/actionbox.less
+++ b/modules/base/styles/actionbox.less
@@ -47,3 +47,14 @@
}
}
}
+
+// for non-JS users, hide the action link & show flyout immediately
+.client-nojs {
+ .flow-actions-link {
+ display: none;
+ }
+
+ .flow-actions-flyout {
+ display: block;
+ }
+}
--
To view, visit https://gerrit.wikimedia.org/r/94877
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0f989bb5c1df5c0971df1bf141fad4ce4fc489ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Werdna <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits