Skip to content

Commit

Permalink
Merge pull request #16 from mean-cj/patch-1
Browse files Browse the repository at this point in the history
Add document ready handler to script
  • Loading branch information
maddhatter committed Jul 24, 2015
2 parents edc2dd6 + 9df06ff commit dd3c982
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/views/script.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<script>
$('#calendar-{{ $id }}').fullCalendar({!! $options !!});
</script>
$(document).ready(function(){
$('#calendar-{{ $id }}').fullCalendar({!! $options !!});
});
</script>

0 comments on commit dd3c982

Please sign in to comment.