MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1,308: Line 1,308:
         var $chooser = ensurePrintChooser();
         var $chooser = ensurePrintChooser();
         $chooser.toggle();
         $chooser.toggle();
        // 👇 add these lines
        var $article = $("#show-article");
        if ($chooser.is(":visible")) {
          $article.addClass("print-opts-open");
        } else {
          $article.removeClass("print-opts-open");
        }
         return; // <-- don't start printing yet
         return; // <-- don't start printing yet
       }
       }

Navigation menu