Sha256: 5b034f04acb9ab9b480a24ac222f20ecfaa6de32cbad5bb7e3f5ab199090472c

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

var edit = (function(){
	// Cache DOM
	var $billing_row = $('#billing_data');
	var $payment_row = $('#payment_data');
	var $currentRow = $('.container .col-md-12 .row.hidden' + window.location.hash);

	// Bind Events
	// Functions
	function showHashLocation() {
		if(window.location.hash != ''){
			$billing_row.addClass('hidden');
			$currentRow.removeClass('hidden');
		}
  }

  showHashLocation();
	return{};
})();

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatchy-0.0.8.pre app/assets/javascripts/hatchy/projects/contributions/edit.js