File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ var wssh = {};
3737
3838jQuery ( function ( $ ) {
3939 var status = $ ( '#status' ) ,
40- btn = $ ( '.btn-primary' ) ,
40+ button = $ ( '.btn-primary' ) ,
4141 form_container = $ ( '.form-container' ) ,
4242 waiter = $ ( '#waiter' ) ,
4343 style = { } ,
@@ -330,7 +330,7 @@ jQuery(function($){
330330
331331
332332 function ajax_complete_callback ( resp ) {
333- btn . prop ( 'disabled' , false ) ;
333+ button . prop ( 'disabled' , false ) ;
334334
335335 if ( resp . status !== 200 ) {
336336 log_status ( resp . status + ': ' + resp . statusText , true ) ;
@@ -651,7 +651,7 @@ jQuery(function($){
651651
652652 function ajax_post ( ) {
653653 status . text ( '' ) ;
654- btn . prop ( 'disabled' , true ) ;
654+ button . prop ( 'disabled' , true ) ;
655655
656656 $ . ajax ( {
657657 url : url ,
@@ -704,7 +704,7 @@ jQuery(function($){
704704 }
705705
706706 status . text ( '' ) ;
707- btn . prop ( 'disabled' , true ) ;
707+ button . prop ( 'disabled' , true ) ;
708708
709709 $ . ajax ( {
710710 url : url ,
You can’t perform that action at this time.
0 commit comments