Closed partounian closed 7 years ago
$(...).modal is not a function is the error I get in the console. I have been trying to figure this out with a friends for hours.
We re
HTML:
<template name="testForm"> <div class="ui modal"> <i class="close icon"></i> <div class="header">Test</div> </div> </template>
JS:
Template.testForm.onRendered(function () { this.$('.ui.modal').modal(); this.$('.ui.modal').modal('show'); });
EDIT: When looking in dev tools it all seems to be loaded in the correct order. I have tried using this., tried putting it in a Githubissues.
$(...).modal is not a function is the error I get in the console. I have been trying to figure this out with a friends for hours.
We re
HTML:
JS:
EDIT: When looking in dev tools it all seems to be loaded in the correct order. I have tried using this., tried putting it in a Githubissues.