From a564537be0e393a6b6822f1a74a0005d9f3c35d8 Mon Sep 17 00:00:00 2001 From: Vladimir Barkasov Date: Sun, 29 Oct 2017 23:50:26 +0700 Subject: [PATCH] - fix a appearing of the head menu - remove autofocus --- app.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 25d3d42..a194126 100644 --- a/app.js +++ b/app.js @@ -120,11 +120,11 @@ var app = { initHeaderSubmenu: function() { var $headerMenu = $('#cc-header-menu'); $headerMenu.on('mouseenter', function(){ - $(this).find('.js-header-menu-items').fadeIn(); + $(this).find('.js-header-menu-items').show(); $(this).find('.js-header-menu-title').hide(); }).on('mouseleave', function(){ $(this).find('.js-header-menu-items').hide(); - $(this).find('.js-header-menu-title').fadeIn(); + $(this).find('.js-header-menu-title').show(); }).on('click', function(e){ e.preventDefault(); }); @@ -679,9 +679,7 @@ var app = { $queuesList.find('.js-new-queue-item').remove(); $queuesList.find('#queues-list').append('
  • New Queue
  • '); - self.settingsQueueFormRender($parent, {}, function(){ - $('.js-to-serialize').first().focus(); - }); + self.settingsQueueFormRender($parent); }, settingsQueueFormRender: function($container, queueData, callback) {