Sha256: 10ef7429a978f466e9572229276a34deba585e242cd0197020a9b1e53869ddfb
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
// Authors: Dan Ahern & Lynn Wallenstein $(document).ready(function() { var currentIndex = 100; $( ".swatch" ).draggable(); $("a#light-switch").click(function () { $(".swatch").toggleClass("light-switch"); }); $(".swatch").click(function () { //console.log(currentIndex); $(this).css("z-index",currentIndex); currentIndex = currentIndex +1; }); $(".close").click(function () { //console.log("you clicked close."); var answer = confirm("You Sure You Want to Delete This Swatch?"); if (answer) { $(this).parents("li.swatch").remove() } }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
app_sleuth-0.0.1.pre | lib/app_sleuth/server/assets/js/script.js |