From 892dde36843139f5934474cdcf72e00a4a33fb55 Mon Sep 17 00:00:00 2001 From: Vladimir Shabanov Date: Mon, 22 Oct 2012 01:49:22 +0400 Subject: Removed unused parent() function which conflicts with window.parent. --- lib/js/urweb.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/js') diff --git a/lib/js/urweb.js b/lib/js/urweb.js index a7fed038..57a03fb2 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -700,10 +700,6 @@ function lastParent() { var thisScript = null; -function parent() { - return thisScript ? thisScript.parentNode : lastParent(); -} - function addNode(node) { if (thisScript) { if (thisScript.parentNode) -- cgit v1.2.3