Skip to content

Commit

Permalink
fix API call that is breaking the last two apps
Browse files Browse the repository at this point in the history
  • Loading branch information
agent86ix committed Apr 25, 2012
1 parent 4147708 commit 4e8f82d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions accept/index.html
Expand Up @@ -719,10 +719,8 @@
}).button();



$("#siteselect").html(api.build_site_select(stackexchange_site_array));

$("#siteselect").val(user_site);
api.populate_site_select("#siteselect", user_site);

$("#siteselect").change(function (e) {
user_site = $("#siteselect").val();
$.cookies.set('badges_user_site', $("#siteselect").val());
Expand Down
4 changes: 1 addition & 3 deletions stats/index.html
Expand Up @@ -810,9 +810,7 @@



$("#siteselect").html(api.build_site_select(stackexchange_site_array));

$("#siteselect").val(user_site);
api.populate_site_select("#siteselect", user_site);
$("#siteselect").change(function (e) {
user_site = $("#siteselect").val();
$.cookies.set('badges_user_site', $("#siteselect").val());
Expand Down

0 comments on commit 4e8f82d

Please sign in to comment.