]> git.plutz.net Git - bookman/commitdiff
set link target=_blank to open links in new window/tab
authorpaul <paul@plutz.net>
Sun, 26 Feb 2012 14:55:37 +0000 (14:55 +0000)
committerpaul <paul@plutz.net>
Sun, 26 Feb 2012 14:55:37 +0000 (14:55 +0000)
svn path=/trunk/; revision=5

bookmarks.sh

index af020b46da41e76391588c65a2eb67bc6cda6e0b..212ac8f9e3d1fe92bbd67c831564622131603f65 100644 (file)
@@ -77,7 +77,7 @@ cat $bdir/$(ls $bdir |tail -n1) |while read line; do
          <div class='bmDisplay' id='d_$bmId'>
            <a class='edButton' href='#' onclick='javascript:${hidecmd}${showcmd}show(\"e_$bmId\");hide(\"d_$bmId\");'>&rarr;</a>
            <img width=16 height=16 src='$bmFavFile'>
-           <a href='$bmLink'>$bmName</a>
+           <a target='_blank' href='$bmLink'>$bmName</a>
          </div><div class='bmEdit' id='e_$bmId'>
            <a class='edButton' href='#' onclick='javascript:show(\"d_$bmId\");hide(\"e_$bmId\");'>&larr;</a>
            <input type='submit' value='Update'><input type='submit' name='deleteBookmark' value='Remove'><br>