Skip to content
Permalink
Browse files

demos/index.html - mapped #widget to #widget|default.

  • Loading branch information...
Ca-Phun Ung
Ca-Phun Ung committed Jan 2, 2009
1 parent 3287ca7 commit 55e6b8073723c5adddd750c44d4be829b9297b01
Showing with 3 additions and 0 deletions.
  1. +3 −0 demos/index.html
@@ -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);

0 comments on commit 55e6b80

Please sign in to comment.
You can’t perform that action at this time.