Remove lag when creating a pad from the pad creation screen

pull/1/head
yflory 2018-02-26 10:49:35 +01:00
parent 22f130d948
commit 329fd61bb1
1 changed files with 1 additions and 1 deletions

View File

@ -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();
});
};