Commit ccb066d7 authored by Leo Iannacone's avatar Leo Iannacone

do not add /datestamp if not needed

parent 1f60dffe
......@@ -233,8 +233,10 @@ function Page_Distrubion()
{ // new pacakge view
file.clean()
files.get()
if (Utils.check_data_package(data)) {
// I will always get dataestamp from package
if (Utils.check_data_package(data)
&& ! window.location.hash.split('/') > 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