mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-24 02:39:37 +00:00
Merge "url-encode page uri before starting the view duration timer"
This commit is contained in:
commit
5912db44e9
|
@ -148,7 +148,7 @@
|
||||||
VL.attach = function ( url ) {
|
VL.attach = function ( url ) {
|
||||||
var view = this;
|
var view = this;
|
||||||
|
|
||||||
this.url = url;
|
this.url = encodeURIComponent( url );
|
||||||
this.startViewDuration();
|
this.startViewDuration();
|
||||||
|
|
||||||
$( this.window )
|
$( this.window )
|
||||||
|
|
Loading…
Reference in a new issue