Formatted Address UI

* formatted address form and adjusted controls for larger displays.
* Added event handler to activate list items.
Yes indeed,  I'll refactor, this afternoon.

Sent from a phone

On Sep 20, 2014, at 7:46 AM, jdungan <notifications@github.com> wrote:

In bpz/static/js/bpz.js:

> @@ -1,4 +1,20 @@
>
> +
> +
> +var menu = document.querySelector('.nav');
> +var navElements = menu.getElementsByTagName('li');
> +
> +for (var i = 0; i < navElements.length; i += 1) {
> +  navElements[i].addEventListener('click', function() { clickHandler(navElements[i]) }, false);
> +}
> +
> +function clickHandler(anchor) {
> +  var hasClass = navElements.getAttribute('class');

Can jquery .toggleClass() do this work?

—
Reply to this email directly or view it on GitHub
<https://github.com/codefortulsa/BPZAround.me/pull/57/files#r17819346>.