mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
d185e8cc05
- Removed datepicker folder from functional demo folder
13 lines
247 B
JavaScript
13 lines
247 B
JavaScript
$(document).ready(function() {
|
|
|
|
$('.component-links a').click(function() {
|
|
var comp = $(this).attr('href').replace(/^#/, "");
|
|
loadDemo(comp);
|
|
});
|
|
|
|
// hash listener
|
|
if (location.hash) {
|
|
loadDemo(location.hash.replace(/^#/, ""));
|
|
}
|
|
|
|
}); |