Mercurial > code > home > repos > light9
changeset 1074:6f6091b3ba3a
jquery api fix
Ignore-this: cbe9fe581365358b0a5fd8a8e65d42b6
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Tue, 03 Jun 2014 06:02:20 +0000 |
parents | 52f049d85f96 |
children | 35a234c7e6ff |
files | light9/subserver/gui.coffee |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/subserver/gui.coffee Tue Jun 03 05:09:41 2014 +0000 +++ b/light9/subserver/gui.coffee Tue Jun 03 06:02:20 2014 +0000 @@ -14,7 +14,7 @@ # this sort of works to stop clicks in <input> from following the # submaster hyperlink, but it may make certain clicks act wrong -$('a').live('click', (ev) -> +$(document).on('click', 'a', (ev) -> return false if ev.target.tagName == 'INPUT' )