Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion kitsune/sumo/static/css/cannedresponses.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.markup-toolbar-button.btn-cannedresponses {
.markup-toolbar-link.btn-cannedresponses {
background-image: url(../img/icon.magic-hat.png);
background-repeat: no-repeat;
padding: 6px 40px 6px !important;
}

#responses-area,
Expand Down
4 changes: 2 additions & 2 deletions kitsune/sumo/static/js/markup.js
Original file line number Diff line number Diff line change
Expand Up @@ -788,14 +788,14 @@ Marky.MediaButton.prototype = $.extend({}, Marky.SimpleButton.prototype, {
* The canned responses helper
*/
Marky.CannedResponsesButton = function() {
this.name = gettext('Insert a canned response...');
this.name = gettext('Common responses');
this.classes = 'btn-cannedresponses';
this.openTag = '';
this.closeTag = '';
this.defaultText = gettext('cannedresponses');
this.everyline = false;

this.html = '<button class="markup-toolbar-button" />';
this.html = '<a class="markup-toolbar-link" href="#"/>';
};

Marky.CannedResponsesButton.prototype = $.extend({}, Marky.SimpleButton.prototype, {
Expand Down