diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-09 22:01:37 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-09 22:01:37 +0000 |
commit | 1e02e816c6ff4ea9f655511652ce76ff5b64f49c (patch) | |
tree | facd58127a0a74a158d7a9643676408be88d38df /test_index.php | |
parent | 58a32d650b288a34013db1d6020d356e3aac22d6 (diff) | |
download | pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar.gz pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar.bz2 pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar.xz pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.zip |
use .on() instead of .click()
Diffstat (limited to 'test_index.php')
-rw-r--r-- | test_index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_index.php b/test_index.php index b3eb282..c54f468 100644 --- a/test_index.php +++ b/test_index.php @@ -312,7 +312,7 @@ else <script src="js/jquery.js"></script> <script> $(function () { - $('.status-link').click(function (ev) { + $('.status-link').on("click", function (ev) { ev.preventDefault(); var key = $(this).attr("href"); var elId = 'e' + key.replace(/\/|\./g, '-'); |