From ec4b89854db3638b0480b2f7bea57261b8089b72 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Tue, 8 Apr 2014 17:25:55 +0200 Subject: [PATCH] Fix trailing commas in MathJax wiki2jax This breaks MathJax in IE7 Change-Id: I998cb98e688ef3e075d9d08012331f5e55e30b83 --- modules/MathJax/unpacked/extensions/wiki2jax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/MathJax/unpacked/extensions/wiki2jax.js b/modules/MathJax/unpacked/extensions/wiki2jax.js index 6535bc1..6520b6a 100644 --- a/modules/MathJax/unpacked/extensions/wiki2jax.js +++ b/modules/MathJax/unpacked/extensions/wiki2jax.js @@ -6,7 +6,7 @@ MathJax.Extension.wiki2jax = { version: "1.0", config: { - element: null, // The ID of the element to be processed + element: null // The ID of the element to be processed // (defaults to full document) }, @@ -72,7 +72,7 @@ MathJax.Extension.wiki2jax = { }); preview.appendChild(parent.removeChild(node)); parent.insertBefore(preview, script); - }, + } };