Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

106
Visualizações
emulateTransitionEnd JQuery custom function prototype in Monster Admin Template make Bootstrap doesn't work for some Windows OS's

I'm using Monster Admin Template in a Django Project and getting a bug depending on specific Windows versions. Until now I can reproduce the bug in Windows Server 16 and Windows 10 Pro.

In one of the Monster Admin javascript files (sidebarmenu.js) there's a function, setTransitionEndSupport, defined as:

function setTransitionEndSupport() {
  transition = transitionEndTest();
  $.fn.emulateTransitionEnd = transitionEndEmulator;

  if (Util.supportsTransitionEnd()) {
    $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
  }
}

Using Chrome 93.0.4577.82, and Windows Server 2016, for example, the bootstrap nav > tab > pills components don't work.

Commenting out the line $.fn.emulateTransitionEnd = transitionEndEmulator; the tabs transitions work, but the Monster Admin Sidebar menu stops working.

The function setTransitionEndSupport is also defined in Bootstrap 4. So possibly the redefinition of it is causing the bug. But the wired thing is that it occurs only in some Windows versions. It doesn't happen in GNU/Linux. At least in Ubuntu and Debian.

Anyone has had some issue like mine?

PS: No error or warning in javascript console.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda