Show More
@@ -153,12 +153,7 b' define([' | |||||
153 |
|
153 | |||
154 | var build_one = function (s) { |
|
154 | var build_one = function (s) { | |
155 | var help = s.help; |
|
155 | var help = s.help; | |
156 |
var shortcut = |
|
156 | var shortcut = prettify(s.shortcut); | |
157 | if(s.shortcut){ |
|
|||
158 | shortcut = prettify(s.shortcut); |
|
|||
159 | } else { |
|
|||
160 | console.error('[debug] - nothing for', s) |
|
|||
161 | } |
|
|||
162 | return $('<div>').addClass('quickhelp'). |
|
157 | return $('<div>').addClass('quickhelp'). | |
163 | append($('<span/>').addClass('shortcut_key').append($(shortcut))). |
|
158 | append($('<span/>').addClass('shortcut_key').append($(shortcut))). | |
164 | append($('<span/>').addClass('shortcut_descr').text(' : ' + help)); |
|
159 | append($('<span/>').addClass('shortcut_descr').text(' : ' + help)); |
General Comments 0
You need to be logged in to leave comments.
Login now