diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-03-21 13:06:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 13:06:41 +0300 |
commit | c87bbd8c0039b46643e56ce9acc2fd7f88543f98 (patch) | |
tree | fb6bcbdd91f4df24be19ffc7fd16c2b98f37d5c2 | |
parent | 3c5bb919fd4d016033d2383efb37c75f46ff6c29 (diff) | |
parent | b473b04f07d93c3dc50f2ec9cdd6d50d43677ebb (diff) |
Merge pull request #122 from MathieuDebit/stable15-fix-ignore-query-arguments-videov15.0.7v15.0.6RC1v15.0.6
Ignore query arguments in single video share for stable15 (Fix #121)
-rwxr-xr-x | js/viewer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewer.js b/js/viewer.js index f64bf39..7ca932b 100755 --- a/js/viewer.js +++ b/js/viewer.js @@ -147,7 +147,7 @@ $(document).ready(function(){ } if($('#body-public').length && $('#imgframe').length && isSupportedMimetype) { - var videoUrl = window.location + '/download'; + var videoUrl = window.location.href.split('?')[0] + '/download'; videoViewer.onViewInline($('#imgframe'), videoUrl, mimetype); } |