Merge pull request #1312 from ethereum/yann300-patch-8

Fix Render warning without msg
pull/3094/head
yann300 7 years ago committed by GitHub
commit b416bcc3ae
  1. 1
      src/app/ui/renderer.js

@ -24,6 +24,7 @@ function Renderer (appAPI) {
* @param {Object} options {useSpan, noAnnotations, click:(Function), type:(warning, error), errFile, errLine, errCol}
*/
Renderer.prototype.error = function (message, container, opt) {
if (!message) return
if (container === undefined) return
opt = opt || {}

Loading…
Cancel
Save