load star when document's ready
This commit is contained in:
parent
bbffd9444a
commit
6b803219ca
1 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,9 @@
|
|||
|
||||
<script src="js/star.js"></script>
|
||||
<script>
|
||||
initialize_a_star( "#main" );
|
||||
$(document).ready(function() {
|
||||
initialize_a_star( "#main" );
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue