Fix label issue in settings

pull/1/head
yflory 5 years ago
parent 0036ca8861
commit 2179abe3fe

@ -942,8 +942,7 @@ define([
create['drive-import-local'] = function() { create['drive-import-local'] = function() {
if (!common.isLoggedIn()) { return; } if (!common.isLoggedIn()) { return; }
var $div = $('<div>', { 'class': 'cp-settings-drive-import-local cp-sidebarlayout-element' }); var $div = $('<div>', { 'class': 'cp-settings-drive-import-local cp-sidebarlayout-element' });
$('<label>', { 'for': 'cp-settings-import-local-pads' }) $('<label>').text(Messages.settings_import).appendTo($div);
.text(Messages.settings_import).appendTo($div);
$('<span>', { 'class': 'cp-sidebarlayout-description' }) $('<span>', { 'class': 'cp-sidebarlayout-description' })
.text(Messages.settings_importTitle).appendTo($div); .text(Messages.settings_importTitle).appendTo($div);
var $button = $('<button>', { var $button = $('<button>', {

Loading…
Cancel
Save