allenhzy commited on
Commit
4817884
1 Parent(s): 28436a7
Files changed (1) hide show
  1. index.html +4 -1
index.html CHANGED
@@ -35,11 +35,14 @@
35
  $('#adaptive-loss-formula-list').on('click', 'a', function(e) {
36
  e.preventDefault();
37
  if (!$(this).hasClass('selected')) {
 
 
38
  $('.formula').hide(200);
39
  $('.formula-list > a').removeClass('selected');
40
  $(this).addClass('selected');
41
  var target = $(this).attr('href');
42
- alert(target)
 
43
  $(target).show(200);
44
  }
45
  });
 
35
  $('#adaptive-loss-formula-list').on('click', 'a', function(e) {
36
  e.preventDefault();
37
  if (!$(this).hasClass('selected')) {
38
+
39
+ print('event')
40
  $('.formula').hide(200);
41
  $('.formula-list > a').removeClass('selected');
42
  $(this).addClass('selected');
43
  var target = $(this).attr('href');
44
+ // alert(target)
45
+ print(target)
46
  $(target).show(200);
47
  }
48
  });