Commit 5f3a5970 authored by sstern's avatar sstern

Add argument to catch

parent 88c6423e
...@@ -102,7 +102,7 @@ class SafeMathRenderer { ...@@ -102,7 +102,7 @@ class SafeMathRenderer {
maxSize: 20, maxSize: 20,
maxExpand: 20, maxExpand: 20,
}); });
} catch { } catch (e) {
// Don't show a flash for now because it would override an existing flash message // Don't show a flash for now because it would override an existing flash message
el.textContent = s__('math|There was an error rendering this math block'); el.textContent = s__('math|There was an error rendering this math block');
// el.style.color = '#d00'; // el.style.color = '#d00';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment