SHARE
TWEET

Remove Some Color

customfiy Apr 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*-- Remove color selections on full color --*/
  2.   setTimeout(function() {
  3.     $('.dd_844939_354438').on("change", function(){
  4.       console.log($(this).find(":selected").val());
  5.       if( $(this).find(":selected").val().trim() === "Full Color" ){
  6.         $("#customify-pcolor .color-btn").hide();
  7.         $('#customify-pcolor .color-btn[data-title="White"], #customify-pcolor .color-btn[data-title="Black"]').show();
  8.       } else{
  9.         $("#customify-pcolor .color-btn").show();
  10.       }
  11.     });
  12.   }, 1000);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top