mirror of
https://gitdab.com/cadence/breezewiki.git
synced 2026-03-05 13:40:27 -05:00
fix javascript audio buttons on hearthstone wiki
This commit is contained in:
@@ -110,6 +110,10 @@
|
||||
#;(curry attribute-maybe-update 'class
|
||||
(λ (class) (string-join (classlist-updater (string-split class " ")) " ")))
|
||||
(curry attribute-maybe-update 'class class-updater)
|
||||
; audio buttons - sample: hearthstone/wiki/Diablo_(Duels_hero)#Sounds
|
||||
(curry u
|
||||
(λ (v) (has-class? "ext-audiobutton" v))
|
||||
(λ (v) (dict-set (dict-remove v 'hidden) 'controls '(""))))
|
||||
; yet more uncollapsing - sample: warframe/wiki/Amp_(Ability)
|
||||
(curry u
|
||||
(λ (v) (and (dict-has-key? v 'id)
|
||||
|
||||
@@ -210,6 +210,11 @@ figcaption, .lightbox-caption, .thumbcaption {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* javascript audio play buttons, see hearthstone/wiki/Diablo_(Duels_hero) */
|
||||
a.ext-audiobutton {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* animated slots */
|
||||
#mw-content-text .animated > :not(.animated-active), #mw-content-text .animated > .animated-subframe > :not(.animated-active) {
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user