Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
cleanup the code a wee bit
  • Loading branch information
steida committed Sep 19, 2010
commit 23461fe785d9235db8a3171dec882e94a6a5ca41
2 changes: 1 addition & 1 deletion ui/jquery.ui.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $.widget.bridge = function( name, object ) {
options;

// prevent calls to internal methods
if ( isMethodCall && options.substring( 0, 1 ) === "_" ) {
if (isMethodCall && options.charAt( 0 ) == "_") {
return returnValue;
}

Expand Down