Changeset 967b414 in Git for src/main/resources/static/js


Ignore:
Timestamp:
02/09/22 03:21:13 (3 years ago)
Author:
GitHub <noreply@…>
Branches:
main
Children:
6f91f99
Parents:
0226942 (diff), 3fe36de (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/09/22 03:21:13)
git-committer:
GitHub <noreply@…> (02/09/22 03:21:13)
Message:

Merge pull request #4 from partaloski/master

Added User profiles, improved clarity, improved UI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/static/js/sharedScript.js

    r0226942 r967b414  
    8888        else
    8989            $("#filters_div").fadeToggle();
     90    })
     91
     92    $(".user-movies-list").on("click", function (){
     93        children = $(this).children()
     94        first = true
     95        for (let item of children){
     96            if(first){
     97                first = !first
     98            }
     99            else{
     100                $(item).fadeToggle();
     101            }
     102        }
     103        $(this).toggleClass("hidden-class")
    90104    })
    91105
Note: See TracChangeset for help on using the changeset viewer.