Lint errors
This commit is contained in:
parent
26193aeaa7
commit
7e69d051c4
@ -966,11 +966,10 @@ define([
|
|||||||
var size = "17px";
|
var size = "17px";
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'export':
|
case 'export':
|
||||||
var $text = $('<span>', {'class': 'drawer'}).text(Messages.exportButton);
|
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
'class': 'fa fa-download',
|
'class': 'fa fa-download',
|
||||||
title: Messages.exportButtonTitle,
|
title: Messages.exportButtonTitle,
|
||||||
}).append($text);
|
}).append($('<span>', {'class': 'drawer'}).text(Messages.exportButton));
|
||||||
|
|
||||||
button.click(prepareFeedback(type));
|
button.click(prepareFeedback(type));
|
||||||
if (callback) {
|
if (callback) {
|
||||||
@ -978,11 +977,10 @@ define([
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'import':
|
case 'import':
|
||||||
var $text = $('<span>', {'class': 'drawer'}).text(Messages.importButton);
|
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
'class': 'fa fa-upload',
|
'class': 'fa fa-upload',
|
||||||
title: Messages.importButtonTitle,
|
title: Messages.importButtonTitle,
|
||||||
}).append($text);
|
}).append($('<span>', {'class': 'drawer'}).text(Messages.importButton));
|
||||||
if (callback) {
|
if (callback) {
|
||||||
button
|
button
|
||||||
.click(prepareFeedback(type))
|
.click(prepareFeedback(type))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user