From 1cc31ad824c8fd2d776668b171bf5584642cf197 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 19 Nov 2020 17:08:41 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 1efe058263..9018369d34 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -300,8 +300,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { this.headerEditEl = this.headerEl.select('.form-control',true).first(); this.headerEl.on('click', function() { this.toggleHeaderInput(true) } , this); this.headerEditEl .on('keyup', function(e) { - if(e.isNavKeyPress()){ - this.toggleHeaderInput(false) + if(e.isNavKeyPress()){ + this.toggleHeaderInput(false) } }, this); } -- 2.39.2