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'); $("#calleeModal").modal('show');
} }
export { triggerCalleeModalEvent } // export { triggerCalleeModalEvent }

View File

@ -1,5 +1,9 @@
import ActionCable from 'actioncable' 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 // create App object with key cable == new consumer
(function() { (function() {

View File

@ -61,4 +61,3 @@
</div> </div>
</div> </div>

View File

@ -72,7 +72,7 @@
</div> </div>
</div> </div>
<%= javascript_pack_tag 'notifications' %>
<%= javascript_pack_tag 'local_video' %> <%= javascript_pack_tag 'local_video' %>
<%= javascript_pack_tag 'notifications' %>