summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-09 22:01:37 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-09 22:01:37 +0000
commit1e02e816c6ff4ea9f655511652ce76ff5b64f49c (patch)
treefacd58127a0a74a158d7a9643676408be88d38df
parent58a32d650b288a34013db1d6020d356e3aac22d6 (diff)
downloadpkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar
pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar.gz
pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar.bz2
pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.tar.xz
pkgsubmit-1e02e816c6ff4ea9f655511652ce76ff5b64f49c.zip
use .on() instead of .click()
-rw-r--r--test_index.php2
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, '-');