diff options
author | sstern <sstern@gitlab.com> | 2019-08-30 15:57:49 -0700 |
---|---|---|
committer | sstern <sstern@gitlab.com> | 2019-08-30 15:57:49 -0700 |
commit | 5f3a597096b9c23fa84d278ccb78e554a67f6ec6 (patch) | |
tree | 6e78e2495b2093be57ff70cc96ee6b3774777139 /app | |
parent | 88c6423e4a45103cc480467bc8f412a48e1e0b55 (diff) | |
download | gitlab-ce-5f3a597096b9c23fa84d278ccb78e554a67f6ec6.tar.gz |
Add argument to catchss/fix-sast-failure-on-master
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/behaviors/markdown/render_math.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/behaviors/markdown/render_math.js b/app/assets/javascripts/behaviors/markdown/render_math.js index 53867b3096b..b5dbdbb7e86 100644 --- a/app/assets/javascripts/behaviors/markdown/render_math.js +++ b/app/assets/javascripts/behaviors/markdown/render_math.js @@ -102,7 +102,7 @@ class SafeMathRenderer { maxSize: 20, maxExpand: 20, }); - } catch { + } catch (e) { // 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.style.color = '#d00'; |