Changeset 3fe36de in Git for src/main/resources/static/js


Ignore:
Timestamp:
02/09/22 03:14:08 (3 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
967b414
Parents:
c02189f
Message:

Added User profiles, improved clarity, improved UI

File:
1 edited

Legend:

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

    rc02189f r3fe36de  
    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.