Fix video thumbnails for Qt on Linux.
This commit is contained in:
parent
25a6728acc
commit
f824f78db9
|
@ -543,7 +543,8 @@ SmallVideo.prototype.initBrowserSpecificProperties = function() {
|
||||||
|
|
||||||
var userAgent = window.navigator.userAgent;
|
var userAgent = window.navigator.userAgent;
|
||||||
if (userAgent.indexOf("QtWebEngine") > -1
|
if (userAgent.indexOf("QtWebEngine") > -1
|
||||||
&& userAgent.indexOf("Windows") > -1) {
|
&& (userAgent.indexOf("Windows") > -1
|
||||||
|
|| userAgent.indexOf("Linux") > -1)) {
|
||||||
$('#' + this.videoSpanId).css("overflow", "hidden");
|
$('#' + this.videoSpanId).css("overflow", "hidden");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue