1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 01:27:58 +01:00

make the global function parseBookmarkString a static function of Bookmarks

This commit is contained in:
Doug Kearns
2007-06-19 12:37:58 +00:00
parent c6a77488f4
commit 55d42bd94c
2 changed files with 75 additions and 75 deletions

View File

@@ -1140,8 +1140,8 @@ function getCurrentLinkLocation()
// converts that string to a useful url and title, and calls addBookmark
function bmadd(str)
{
var res = new Object();
if (parseBookmarkString(str, res))
var res = Bookmarks.parseBookmarkString(str);
if (res)
{
if(res.url == null)
{
@@ -1163,8 +1163,8 @@ function bmadd(str)
function bmdel(str)
{
var res = new Object();
if (parseBookmarkString(str, res))
var res = Bookmarks.parseBookmarkString(str);
if (res)
{
if(res.url == null)
res.url = getCurrentLocation();