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

View File

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

View File

@ -37,7 +37,7 @@
</aside> </aside>
@section('page-scripts') @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"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {