All pastes #536163 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-04 09:12 UTC
rendered paste body
	// Move an item up
	$('.up').click(function(){
		var thisItem = $(this).parent().parent();
		if(thisItem.prev().is('div')){
			thisItem.prev().before(thisItem);
		}
	});