Commit 43fceacd authored by techird's avatar techird

dist

parent 9a1f16cb
...@@ -290,7 +290,7 @@ $( function () { ...@@ -290,7 +290,7 @@ $( function () {
function loadShare() { function loadShare() {
var pattern = /share_id=(\w+)([&#]|$)/; var pattern = /share_id=(\w+)([&#]|$)/;
var match = pattern.exec( window.top.location.href ); var match = pattern.exec( window.top.location );
if ( !match ) return; if ( !match ) return;
var shareId = match[ 1 ]; var shareId = match[ 1 ];
var query = new baidu.frontia.storage.Query(); var query = new baidu.frontia.storage.Query();
...@@ -311,7 +311,7 @@ $( function () { ...@@ -311,7 +311,7 @@ $( function () {
function loadPath() { function loadPath() {
var pattern = /path=(.+?)([&#]|$)/; var pattern = /path=(.+?)([&#]|$)/;
var match = pattern.exec( window.top.location.href ); var match = pattern.exec( window.top.location );
if ( !match ) return; if ( !match ) return;
thisMapFilename = decodeURI( match[ 1 ] ); thisMapFilename = decodeURI( match[ 1 ] );
} }
......
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