Update WebUI to be more compliant with HTML5 standard

Use modern and shorter "charset" attribute.
Remove "type", "charset" attributes in script/style tags, these are redundant in HTML5.
This commit is contained in:
Chocobo1
2018-03-21 14:34:37 +08:00
parent e1a14007f8
commit ed03456999
16 changed files with 72 additions and 72 deletions

View File

@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="${LANG}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="UTF-8" />
<title>QBT_TR(Deletion confirmation - qBittorrent)QBT_TR[CONTEXT=confirmDeletionDlg]</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
<script type="text/javascript" src="scripts/mootools-1.2-more.js" charset="utf-8"></script>
<script type="text/javascript">
<script src="scripts/mootools-1.2-core-yc.js"></script>
<script src="scripts/mootools-1.2-more.js"></script>
<script>
var hashes = new URI().getData('hashes').split('|');
window.addEvent('domready', function(){
$('cancelBtn').focus();