mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Remove some logs.
This commit is contained in:
parent
653622b5f9
commit
9b16852c7a
@ -43,15 +43,12 @@
|
||||
});
|
||||
|
||||
$bins.delegate('.archive, .unarchive', 'click', function (e) {
|
||||
console.log(e);
|
||||
var $this = $(this);
|
||||
console.log('hitting', $this.attr('href'));
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: $this.attr('href'),
|
||||
error: function () {
|
||||
alert("Something went wrong, please try again");
|
||||
console.log.apply(console, [].slice.call(arguments));
|
||||
},
|
||||
success: function () {
|
||||
$this.parents('tr').toggleClass('archived');
|
||||
@ -65,7 +62,6 @@
|
||||
$history.toggleClass('archive_mode');
|
||||
});
|
||||
|
||||
|
||||
// Delay a preview load after tr mouseover
|
||||
$trs.mouseover(function (event) {
|
||||
var $this = $(this),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user