dragdropsite / mPurpose

Free multipurpose Twitter Bootstrap 3 template. A huge variety of components and more that 30 sample pages!
http://www.dragdropsite.com
MIT License
166 stars 74 forks source link

External link in menu menu open() error #4

Open Sebbo94BY opened 9 years ago

Sebbo94BY commented 9 years ago

If I enter an external link with target="_blank", the website tries to open() a page, which does not exist. Regarding to this, the website will show a 404 error, but the new tab is showing the correct website content.

To solve this issue I have removed the following line in your js/main-menu.js:

    else window.location = $item.find('a').attr('href');

My JS knowledge is not good enough to understand this line. I hope, you can fix this as fast as possible.

Thanks in advance!