Using @js instead of script, minor fixes

This commit is contained in:
Deon George 2018-05-22 22:09:18 +10:00
parent 602fc14760
commit 1bfd5609a5
3 changed files with 4 additions and 10 deletions

View File

@ -29,12 +29,6 @@
echo json_encode($trans);
@endphp
</script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<style>
#favourite.selected {
color: orange;
}
</style>
<!-- STYLESHEETS -->
{!! Asset::styles() !!}

View File

@ -9,5 +9,5 @@
Both of these plugins are recommended to enhance the
user experience. Slimscroll is required when using the
fixed layout. -->
@js('site/js/jquery.slimscroll.min.js','jq.slimscroll');
@js('site/js/fastclick.min.js','jq.fastclick');
@js('/site/js/jquery.slimscroll.min.js','jq.slimscroll');
@js('/site/js/fastclick.min.js','jq.fastclick');

View File

@ -37,7 +37,7 @@
</aside>
@section('page-scripts')
<script src="{{ url('/plugins/bootstrap3-typeahead.min.js') }}"></script>
@js('/site/js/bootstrap3-typeahead.min.js','bs-typeahead')
<script type="text/javascript">
$(document).ready(function() {