javascript - Prevent Bootstrap modal window from opening in new tab / window -


i using bootstrap 3 , looking way prevent modal dialog windows open open in new tab / window. modal window has opened (on top of current window) direct click , not displayed when user right clicks on "open in new tab / window". appreciated, thanks

on element can use oncontextmenu

<ul class="nav nav-tabs" oncontextmenu="return false;">   <li><a href="#tab1" data-toggle="tab">tab1</a></li>   <li><a href="#ab2" data-toggle="tab">tab2</a></li> </ul> 

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -