shosho s

shosho s

  • NA
  • 137
  • 98.7k

Uncaught TypeError:Cannot read property 'outerHTML' ...

Dec 17 2016 1:42 PM
Hey,
 
I downloaded a boostrap admin theme  from online and applied it to my projects.
Whenever i try to run it i get an error such as:
 
Uncaught TypeError: Cannot read property 'outerHTML' of undefined
at Object.initRightMenu (light-bootstrap-dashboard.js:69)
at light-bootstrap-dashboard.js:43
at dispatch (jquery-1.10.2.js:5095)
at elemData.handle (jquery-1.10.2.js:4766)
  
------------------------------------------ 
 In the .js file i throws an error here :
 
$logo = $sidebar.find('.logo').first();
logo_content = $logo[0].outerHTML;
 
 
 Can someone please help me go about this? thank you in advance
 

Answers (1)