Commit 9abed306 authored by Leo Iannacone's avatar Leo Iannacone

fix add /datestamp

parent aaabe195
......@@ -233,8 +233,8 @@ function Page_Distrubion()
{ // new pacakge view
file.clean()
files.get()
if (Utils.check_data_package(data)
&& ! window.location.hash.split('/') > 3)
if ( Utils.check_data_package(data)
&& window.location.hash.split('/').length <= 3)
{
// I will always get datastamp file from package
window.location.hash += '/datestamp'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment