From 8c9cfe238e565088b37d256eb461a01919ef9968 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sun, 1 Nov 2015 13:42:56 +0100 Subject: Switch to HTML5 doctype + s/acronym/abbr/ + s/ / /e I'd have preferred to stick with XHTML 1.0, but unfortunately browsers won't allow you to use modern Javascript APIs with an older doctype. Note that most pages don't actually validate correctly as HTML5, I'm relying on browsers to be lenient. In either case, I'd like VNDB to stay valid XML (XHTML5, then), and luckily that shouldn't be a problem. --- data/js/misc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/js') diff --git a/data/js/misc.js b/data/js/misc.js index 89572e82..a1e86827 100644 --- a/data/js/misc.js +++ b/data/js/misc.js @@ -210,7 +210,7 @@ if(byId('batchedit')) // mouse-over price information / disclaimer (function(){ if(byId('buynow')) { - var l = byClass(byId('buynow'), 'acronym', 'pricenote'); + var l = byClass(byId('buynow'), 'abbr', 'pricenote'); for(var i=0; i