File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <PropertyGroup >
4- <Version >9.6.4-beta03 </Version >
4+ <Version >9.6.4-beta04 </Version >
55 </PropertyGroup >
66
77 <ItemGroup >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Data from "../../modules/data.js"
33import EventHandler from "../../modules/event-handler.js"
44
55export function init ( id ) {
6- var el = document . getElementById ( id ) ;
6+ const el = document . getElementById ( id ) ;
77 const text = {
88 prevMethod : '' ,
99 element : el
@@ -14,7 +14,7 @@ export function init(id) {
1414 if ( e . key === "Enter" || e . key === "NumpadEnter" ) {
1515 const useShiftEnter = el . getAttribute ( 'data-bb-shift-enter' ) === 'true' ;
1616 const shiftKey = e . shiftKey ;
17- if ( shiftKey && useShiftEnter ) {
17+ if ( useShiftEnter && shiftKey === false ) {
1818 e . preventDefault ( ) ;
1919 }
2020 }
You can’t perform that action at this time.
0 commit comments