fixed issue where import triggerCalleeModalEvent broke javascript in navbar

This commit is contained in:
Beatrice Olivera
2018-09-04 10:29:56 +01:00
parent 7922a55e14
commit e0995c7610
4 changed files with 7 additions and 4 deletions

View File

@@ -40,4 +40,4 @@ const triggerCalleeModalEvent = () => {
$("#calleeModal").modal('show');
}
export { triggerCalleeModalEvent }
// export { triggerCalleeModalEvent }

View File

@@ -1,5 +1,9 @@
import ActionCable from 'actioncable'
import { triggerCalleeModalEvent } from "./application.js";
// import { triggerCalleeModalEvent } from "./application";
const triggerCalleeModalEvent = () => {
$("#calleeModal").modal('show');
}
// create App object with key cable == new consumer
(function() {