performance warning: text cleanup

This commit is contained in:
juliandescottes 2016-12-18 06:52:44 +01:00
parent 57b37971f6
commit 58bfe16b27
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@
<span class="cheatsheet-link icon-common-keyboard-gold"
rel="tooltip" data-placement="right" title="Keyboard shortcuts">&nbsp;</span>
<div class="performance-link icon-common-warning-red"
rel="tooltip" data-placement="left" title="Performance issues: learn more.">&nbsp;</div>
rel="tooltip" data-placement="left" title="Performance problem detected, learn more.">&nbsp;</div>
<!-- dialogs partials -->
@@include('templates/dialogs/create-palette.html', {})

View file

@ -44,7 +44,7 @@
// and we were not displaying a warning before.
if (shouldDisplayWarning && !isWarningDisplayed) {
$.publish(Events.SHOW_NOTIFICATION, [{
'content': 'performance problem notification ' +
'content': 'Performance problem detected, ' +
'<a href="#" style="color:red;"' +
'onclick="pskl.controller.UserWarningController.showPerformanceInfoDialog()">' +
'learn more?</a>',