Skip to content

Commit 1a511ab

Browse files
committed
fix append scripts to scripts section
1 parent 931a7f3 commit 1a511ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ First, pull in the package through Composer.
1515

1616
```js
1717
"require": {
18-
"bpocallaghan/notify": "~1.*"
18+
"bpocallaghan/notify": "1.0.*"
1919
}
2020
```
2121

@@ -72,4 +72,4 @@ If you need to modify the partials, you can run:
7272
php artisan vendor:publish --provider="Bpocallaghan\Notify\NotifyServiceProvider"
7373
```
7474

75-
The two views will be located in the `resources/views/vendor/notify/' directory.
75+
The two views will be located in the 'resources/views/vendor/notify/' directory.

resources/views/notify.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@if (Session::has('notify.title'))
22
@section('scripts')
3+
@parent
34
<script type="text/javascript">
45
$(function ()
56
{
@@ -51,6 +52,7 @@
5152
@endif
5253

5354
@section('scripts')
55+
@parent
5456
<script type="text/javascript" charset="utf-8">
5557
function smallBox(title, description, color, icon)
5658
{

0 commit comments

Comments
 (0)