Skip to content

Commit

Permalink
Merge pull request #1303 from evdokimoww/main
Browse files Browse the repository at this point in the history
[#1280] import correctionListener
  • Loading branch information
fey authored Apr 15, 2022
2 parents 22dfde7 + c28d926 commit 0061ddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import lodash from 'lodash';
import 'bootstrap';
import axios from 'axios';
import addHashActiveTab from './custom';
import correctionListener from './correction';

window.$ = $;
window.jQuery = $;
Expand All @@ -15,3 +16,4 @@ require('./correction');

// LINK TO TABS from https://github.com/twbs/bootstrap/issues/25220#issuecomment-535915733
addHashActiveTab();
correctionListener();
2 changes: 1 addition & 1 deletion resources/js/correction.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ const correctionListener = () => {
document.addEventListener('keydown', ctrlEnterHandler);
};

correctionListener();
export default correctionListener;

0 comments on commit 0061ddd

Please sign in to comment.