Skip to content

Commit a5d50da

Browse files
committed
Progressbar demos: Cleanup.
1 parent 24d9141 commit a5d50da

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

demos/progressbar/indeterminate.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@
1616
});
1717
$( "button" ).on( "click", function( event ) {
1818
var target = $( event.target ),
19-
pbar = $( "#progressbar" ),
20-
pbarValue = pbar.find( ".ui-progressbar-value" );
19+
progressbar = $( "#progressbar" ),
20+
progressbarValue = progressbar.find( ".ui-progressbar-value" );
2121

2222
if ( target.is( "#numButton" ) ) {
23-
pbar.progressbar( "option", {
23+
progressbar.progressbar( "option", {
2424
value: Math.floor( Math.random() * 100 )
2525
});
2626
} else if ( target.is( "#colorButton" ) ) {
27-
pbarValue.css({
27+
progressbarValue.css({
2828
"background": '#' + Math.floor( Math.random() * 16777215 ).toString( 16 )
2929
});
3030
} else if ( target.is( "#falseButton" ) ) {
31-
pbar.progressbar( "option", "value", false );
31+
progressbar.progressbar( "option", "value", false );
3232
}
3333
});
3434
});
3535
</script>
3636
<style>
37-
#progressbar .ui-progressbar-value {
38-
background-color: #CCCCCC;
39-
}
37+
#progressbar .ui-progressbar-value {
38+
background-color: #ccc;
39+
}
4040
</style>
4141
</head>
4242
<body>

0 commit comments

Comments
 (0)