Skip to content

Commit 94e9a6c

Browse files
committed
Tabs: adding semicolon after return, fixing styling around function definition parameters ( event )
1 parent de8512f commit 94e9a6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/jquery.ui.tabs.js

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ $.widget( "ui.tabs", {
333333
};
334334

335335
// attach tab event handler, unbind to avoid duplicates from former tabifying...
336-
this.anchors.bind( o.event + ".tabs", function(event) {
336+
this.anchors.bind( o.event + ".tabs", function( event ) {
337337
event.preventDefault();
338338
var el = this,
339339
$li = $(el).closest( "li" ),
@@ -350,7 +350,7 @@ $.widget( "ui.tabs", {
350350
self.panels.filter( ":animated" ).length ||
351351
self._trigger( "select", null, self._ui( this, $show[ 0 ] ) ) === false ) {
352352
this.blur();
353-
return
353+
return;
354354
}
355355

356356
o.selected = self.anchors.index( this );
@@ -419,7 +419,7 @@ $.widget( "ui.tabs", {
419419
});
420420

421421
// disable click in any case
422-
this.anchors.bind( "click.tabs", function(event){
422+
this.anchors.bind( "click.tabs", function( event ){
423423
event.preventDefault();
424424
});
425425
},

0 commit comments

Comments
 (0)