Why does the toggle method in jQuery v1.9.0 fail?

<div id="switcher" class="switcher">
  <h3>Style Switcher</h3>
  <button id="switcher-default">
    Default
  </button>
  <button id="switcher-narrow">
    Narrow Column
  </button>
  <button id="switcher-large">
    Large Print
  </button>
</div>

css Code

.hidden {
    display: none;
}

jQuery Code:

$("-sharpswitcher h3").toggle(function() {
    $("-sharpswitcher button").addClass("hidden");
},function() {
    $("-sharpswitcher button").removeClass("hidden");
});

is that the h3 tag is hidden directly after loading, is the 1.9version of the toggle method no longer available?

Mar.04,2021
The toggle of

1.9 is indeed different, toggle ([speed], [easing], [fn]). It is only used for show-hide toggle animation;

Menu