|
|
@@ -1656,6 +1656,9 @@ $(document).ready(function () {
|
|
|
$("#shareModal input[type='text']").on("focus", function () {
|
|
|
this.select();
|
|
|
});
|
|
|
+ if (!window.location.origin) {
|
|
|
+ window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port: "");
|
|
|
+ }
|
|
|
var _search = window.location.search;
|
|
|
var _pathname = window.location.pathname;
|
|
|
if (_pathname.indexOf("${ url('search:new_search') }") > -1) {
|