Removes redundant maxCount declaration

This commit is contained in:
mabashian
2018-08-07 16:17:20 -04:00
parent c7466ce449
commit 273754dc79
4 changed files with 0 additions and 4 deletions

View File

@@ -528,7 +528,6 @@
// Detect when a label is removed
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
const maxCount = 512;
const { text } = e.params.data;
/* If the character count of a removed label is greater than 512 AND the field is currently marked

View File

@@ -736,7 +736,6 @@ export default
// Detect when a label is removed
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
const maxCount = 512;
const { text } = e.params.data;
/* If the character count of a removed label is greater than 512 AND the field is currently marked

View File

@@ -207,7 +207,6 @@ export default [
});
// Detect when a label is removed
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
const maxCount = 512;
const { text } = e.params.data;
/* If the character count of a removed label is greater than 512 AND the field is currently marked
as invalid, we set it back to valid */

View File

@@ -351,7 +351,6 @@ export default [
});
// Detect when a label is removed
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
const maxCount = 512;
const { text } = e.params.data;
/* If the character count of a removed label is greater than 512 AND the field is currently marked
as invalid, we set it back to valid */