mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
demos/index.html - mapped #widget to #widget|default.
This commit is contained in:
parent
3287ca7199
commit
55e6b80737
@ -80,6 +80,9 @@
|
||||
});
|
||||
|
||||
if (window.location.hash) {
|
||||
if (window.location.hash.indexOf('|') === -1) {
|
||||
window.location.hash += '|default';
|
||||
}
|
||||
var path = window.location.href.replace('#','');
|
||||
path = path.replace('\|','/') + '.html';
|
||||
loadPage(path);
|
||||
|
Loading…
Reference in New Issue
Block a user