Jquery Document Ready function not working properly

  • 1
  • Problem
  • Updated 3 years ago
  • In Progress
Hi i have the following function in inline js file. It is working only for Default and classic themes. Not working for remaining themes..

 function openDrawer() {
$(".NewTable .sk-icon-preview").trigger("click");
Photo of Vijayakrishna


  • 642 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,828 Points 20k badge 2x thumb
My guess is that the other themes do not have the .sk-icon-preview   Change your icon to something that all themes can access