Author: Arseniy Terekhin <sen...@gmail.com> Branch: extradoc Changeset: r426:760313371d05 Date: 2013-04-21 18:32 +0400 http://bitbucket.org/pypy/pypy.org/changeset/760313371d05/
Log: Donation sidebar fix for ie diff --git a/js/script2.js b/js/script2.js --- a/js/script2.js +++ b/js/script2.js @@ -1,28 +1,21 @@ +function set_sidebar_html(html) { + $("#sidebar").html(html); +} function py3k_donate() { - $.get("don1.html#", function (html) { - $("#sidebar").html(html); - }); + $.get("don1.html", set_sidebar_html); } function stm_donate() { - $.get("don4.html#", function (html) { - $("#sidebar").html(html); - }); + $.get("don4.html", set_sidebar_html); } function general_donate() { - $.get("don2.html#", function (html) { - $("#sidebar").html(html); - }); + $.get("don2.html", set_sidebar_html); } function numpy_donate() { - $.get("don3.html#", function (html) { - $("#sidebar").html(html); - }); + $.get("don3.html", set_sidebar_html); } -$(document).ready(function() { - stm_donate(); -}); \ No newline at end of file +$(document).ready(stm_donate); _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit