highlight contract tab

pull/1/head
yann300 8 years ago
parent 0b558939a8
commit 1c4eca46d7
  1. 2
      src/app.js

@ -809,10 +809,12 @@ var run = function () {
compiler.event.register('compilationDuration', (speed) => {
$('#warnCompilationSlow').html('')
$('#warnCompilationSlow').hide()
$('#header #menu .settingsView').css('color', '')
if (speed > 1000) {
document.querySelector('#warnCompilationSlow').className = cssCompilationWarning.compilationWarning
$('#warnCompilationSlow').show()
$('#warnCompilationSlow').html(warnMsg.replace('{X}', speed))
$('#header #menu .settingsView').css('color', '#FF8B8B')
}
})

Loading…
Cancel
Save