Button is hidden after upgrading from 1.7 to 1.11

Button is hidden after upgrading from 1.7 to 1.11

I was using jQuery 1.7 and upgraded to 1.11 and also added jquery-migrate-1.2.1

After upgrading there is a button on the page that no longer displays.  I can see it for an instant when the page loads, then it disappers.

This is the button in my cshtml file
  1. <input type="button" class="check" value="check all" />

This is renedered to the browser
  1. <input type="button" class="check" value="check all" style="display: none;">

This is the only code that uses the button and it's in the document.ready function.  All it does is toggle the checkboxes on the page.

  1.         $('.check:button').toggle(function () {
  2.             $('input:checkbox').attr('checked', 'checked');
  3.             $(this).val('uncheck all');
  4.         }, function () {
  5.             $('input:checkbox').removeAttr('checked');
  6.             $(this).val('check all');
  7.         });

Edit:  I've done some testing and determined that if i comment out the toggle code the button does appear, so it must be something with that part of the code.