From 55e6b8073723c5adddd750c44d4be829b9297b01 Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Fri, 2 Jan 2009 12:20:10 +0000 Subject: [PATCH] demos/index.html - mapped #widget to #widget|default. --- demos/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demos/index.html b/demos/index.html index 48676a5ab..479ae140c 100644 --- a/demos/index.html +++ b/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);