Remove lag when creating a pad from the pad creation screen

pull/1/head
yflory 7 years ago
parent 22f130d948
commit 329fd61bb1

@ -1764,6 +1764,7 @@ define([
// Create the pad
var create = function (template) {
$creationContainer.remove();
// Type of pad
var ownedVal = parseInt($('input[name="cp-creation-owned"]:checked').val());
// Life time
@ -1784,7 +1785,6 @@ define([
expire: expireVal,
template: template
}, function () {
$creationContainer.remove();
cb();
});
};

Loading…
Cancel
Save