Skip to content

Commit

Permalink
Merge pull request #44 from michielspiritus7/main
Browse files Browse the repository at this point in the history
navigating/selecting services fix
  • Loading branch information
royteeuwen authored Jun 29, 2023
2 parents 7b41e2a + d305e06 commit ac54483
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ $(function () {

scriptEditor.navigateFileEnd();

if (scriptEditor.getCursorPosition().column > 0) {
if (scriptEditor.getCursorPosition().column > 0 ) {
scriptEditor.insert('\n\n');
}

scriptEditor.insert(declaration);

if((event.keyCode === 13 || event.which === 13)) {
scriptEditor.insert(declaration);
}
return '';
}
});

$('#btn-group-services').fadeIn('fast');
});
});
});

0 comments on commit ac54483

Please sign in to comment.