mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Update to MochaUI svn/trunk
* Fixes IE7/8 compatibility - Use Yui compressor on mocha.js
This commit is contained in:
@@ -207,7 +207,7 @@ void HttpConnection::respond()
|
||||
ext.clear();
|
||||
QByteArray data = file.readAll();
|
||||
// Translate the page
|
||||
if(ext == "html" || ext == "js") {
|
||||
if(ext == "html" || (ext == "js" && !list.last().startsWith("excanvas"))) {
|
||||
data = translateDocument(QString::fromUtf8(data.data())).toUtf8();
|
||||
}
|
||||
generator.setStatusLine(200, "OK");
|
||||
|
||||
Reference in New Issue
Block a user