(function($){
    $.fn.disableSelection = function() {
        return this
                 .attr('unselectable', 'on')
                 .css('user-select', 'none')
                 .on('selectstart', false);
    };
})(jQuery);


$(document).ready(function () {

	$('.box_shadow').on('click', function () {

		var current = $(event.target).css('box-shadow');

		var a = current.split('px');
		var blur = a[a.length-3];
		var spread = a[a.length-2];
		var newBlur = parseInt(blur) + 1; 
		var newSpread = parseInt(spread) + 3; 
		
		$(event.target).css('box-shadow', 'rgba(-1, 1, 0, 0.35) 0px 0px ' + newBlur + 'px ' + newSpread + 'px');

	});

	$('.text_shadow').on('click', function () {

		var current = $(event.target).css('text-shadow');

		var a = current.split('px');
		console.log(a);
		
		var blur = a[a.length-2];
		console.log(blur);

		var vert = a[a.length-3];
		console.log(vert);
		
		// var horiz = a[a.length-4];
		// console.log(horiz);

		var newBlur = parseInt(blur) + 1; 
		var newVert = parseInt(vert) + 1; 
		// var newHoriz = parseInt(spread) + 3; 
		
		console.log(event.target);
		console.log(current);
		
		$(event.target).css('text-shadow', 'rgb(-1, 1, 0) 1px ' + newVert + 'px ' + newBlur + 'px');

	});

	$('body').disableSelection();

});
@@ -315,36 +315,28 @@
 current = $(
-event.target
+this
 ).css('box-s
@@ -515,36 +515,28 @@
  3; %0A%09%09%0A%09%09$(
-event.target
+this
 ).css('box-s
@@ -685,28 +685,20 @@
 ent = $(
-event.target
+this
 ).css('t
@@ -747,29 +747,8 @@
 ');%0A
-%09%09console.log(a);%0A%09%09%0A
 %09%09va
@@ -775,30 +775,8 @@
 2%5D;%0A
-%09%09console.log(blur);%0A%0A
 %09%09va
@@ -803,282 +803,95 @@
 3%5D;%0A
-%09%09console.log(vert);%0A%09%09%0A%09%09// var horiz = a%5Ba.length-4%5D;%0A%09%09// console.log(horiz);%0A%0A%09%09var newBlur = parseInt(blur) + 1; %0A%09%09var newVert = parseInt(vert) + 1; %0A%09%09// var newHoriz = parseInt(spread) + 3; %0A%09%09%0A%09%09console.log(event.target);%0A%09%09console.log(current);%0A%09%09%0A%09%09$(event.target
+%0A%09%09var newBlur = parseInt(blur) + 1; %0A%09%09var newVert = parseInt(vert) + 1; %0A%09%09%09%0A%09%09$(this
 ).cs

fix More Drop Shadow