Merge pull request #49 from beatriceo/fixes

fixed issue where import triggerCalleeModalEvent broke javascript in …
This commit is contained in:
Beatrice Olivera 2018-09-04 10:31:01 +01:00 committed by GitHub
commit 482058e6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' %>