Changeset 42d565b in Git for src/main/resources/static/js
- Timestamp:
- 02/06/22 21:38:16 (3 years ago)
- Branches:
- main
- Children:
- 7f36551
- Parents:
- 5b447b0 (diff), 2efe93e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Mato-77 <56981531+Mato-77@…> (02/06/22 21:38:16)
- git-committer:
- GitHub <noreply@…> (02/06/22 21:38:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/static/js/sharedScript.js
r5b447b0 r42d565b 4 4 var elements = $(".elements") 5 5 var elementGrade; 6 6 7 7 8 $("#dialog-rating").dialog({ … … 145 146 let movieId=$(button).attr("movie-id") 146 147 if (type==='like') { 147 $(button).parent().append("<a class='b tn btn-primary button-remove-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">Избриши од омилена листа</a>")148 $(button).parent().append("<a class='bottom-heart btn btn-danger button-remove-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">💔</a>") 148 149 console.log("da") 149 150 } 150 151 else{ 151 $(button).parent().append("<a class='b tn btn-primary button-add-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">Додади во омилена листа</a>")152 $(button).parent().append("<a class='bottom-heart btn btn-success button-add-favourite-list' movie-id=" + movieId + " user-id=" + userId + ">❤</a>") 152 153 153 154 }
Note:
See TracChangeset
for help on using the changeset viewer.