kh90909 / OakTerm

Serial terminal for the Digistump Oak over the Particle Cloud
8 stars 2 forks source link

Responsive data "Send" button doesn't submit #59

Closed emcniece closed 8 years ago

emcniece commented 8 years ago

The green "Send Data" button at the bottom works fine when the browser is large, but once the responsive styles kick in the button doesn't do anything.

This is because there are actually 2 buttons that get shown/hidden based on screen size. They currently have the same id="send" so jQuery is only binding events to the first one.

Change the jQuery selector to a class, or better yet: start to implement a data-click="callThisFunc" element pattern.

emcniece commented 8 years ago

Resolved with https://github.com/kh90909/OakTerm/pull/62