minor usability improvement
This commit is contained in:
@ -109,7 +109,7 @@ $(function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var overrideTextareaTabBehavior = function() {
|
var overrideTextareaTabBehavior = function() {
|
||||||
$('.form-group textarea').on('keydown', function(event) {
|
$('.form-group textarea[name$="[content]"]').on('keydown', function(event) {
|
||||||
if (event.which === TAB_KEY_CODE) {
|
if (event.which === TAB_KEY_CODE) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
insertTabAtCursor($(this));
|
insertTabAtCursor($(this));
|
||||||
|
Reference in New Issue
Block a user