Fix video thumbnails for Qt on Linux.

This commit is contained in:
yanas 2016-08-22 16:31:20 -05:00
parent 25a6728acc
commit f824f78db9
1 changed files with 2 additions and 1 deletions

View File

@ -543,7 +543,8 @@ SmallVideo.prototype.initBrowserSpecificProperties = function() {
var userAgent = window.navigator.userAgent;
if (userAgent.indexOf("QtWebEngine") > -1
&& userAgent.indexOf("Windows") > -1) {
&& (userAgent.indexOf("Windows") > -1
|| userAgent.indexOf("Linux") > -1)) {
$('#' + this.videoSpanId).css("overflow", "hidden");
}
};