Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
>MangoFVTT
No edit summary
>MangoFVTT
No edit summary
 
Line 13: Line 13:


         function onSearchTriggerClick() {
         function onSearchTriggerClick() {
             if (skin === "citizen") {
             if (skin === "citizen" && searchToggle) {
                 // Citizen does not have a visible search bar, you need to expand the search card first
                 // Citizen does not have a visible search bar, you need to expand the search card first
                 // And Citizen will focus the input automatically
                 // And Citizen will focus the input automatically
                 searchToggle?.click();
                 searchToggle.click();
             } else {
             } else {
                 // This should work for all skins that has visible search bar
                 // This should work for all skins that has visible search bar