Skip to content

Commit 48d7894

Browse files
committed
Updated doc
1 parent a0e5fe5 commit 48d7894

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ To import the stylesheet run the following command:
128128
and include the stylesheet in your template:
129129

130130
<link rel="stylesheet" href="{{ asset('bundles/dcsrating/css/rating.css') }}" />
131+
132+
### 5.1) Enable vote via ajax
133+
134+
To vote via ajax you have to include the script below after loading the jQuery library:
135+
136+
<script src="{{ asset('bundles/dcsrating/js/rating.js') }}"></script>
131137

132138
## 6) Showing rating and enabling vote
133139

0 commit comments

Comments
 (0)