Skip to content

Commit

Permalink
disable points corrections for p2p
Browse files Browse the repository at this point in the history
  • Loading branch information
benthemonkey committed Apr 12, 2015
1 parent 57b40eb commit 4cd409c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/pointsCenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,11 @@ define(['jquery', 'moment', 'hogan'], function($, moment, Hogan){

$.getJSON(root + '/ajax/getRecentEvents.php', function(events){
for(var i = events.length - 1; i >= 0; i--){
// if(events[i].type == 'p2p'){
// $('<option disabled="disabled"></option>').text(events[i].event_name).appendTo('#event-name');
// }else{
$('<option></option>').text(events[i].event_name).appendTo('#event-name');
//}
if(events[i].type == 'p2p'){
$('<option disabled="disabled"></option>').text(events[i].event_name).appendTo('#event-name');
}else{
$('<option></option>').text(events[i].event_name).appendTo('#event-name');
}
}
});

Expand Down

0 comments on commit 4cd409c

Please sign in to comment.