Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoh committed Jun 2, 2024
1 parent 15b9265 commit f0b9e4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions skins/elastic/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ function rcube_elastic_ui() {

// Display "List is empty..." on the list
if (window.MutationObserver) {
$('[data-label-msg],[data-label-msg-loading],[data-label-empty]').filter('ul,table').each(function () {
$('[data-label-msg],[data-label-msg-loading],[data-label-msg-empty]').filter('ul,table').each(function () {
var info = $('<div class="listing-info hidden">').insertAfter(this),
table = $(this),
fn = function () {
Expand All @@ -640,8 +640,7 @@ function rcube_elastic_ui() {
msg = table.data('label-msg-empty') ? table.data('label-msg-empty') : table.data('label-msg');
}

if (msg && !list.children(':visible').length
) {
if (msg && !list.children(':visible').length) {
ext = table.data('label-ext');
command = table.data('create-command');

Expand Down

0 comments on commit f0b9e4a

Please sign in to comment.