From b77ad7d552a0181dda79a529d4a2a7f3fe040947 Mon Sep 17 00:00:00 2001 From: Anthony Lieuallen Date: Mon, 17 Jan 2011 03:18:48 +0000 Subject: [PATCH] Fix .tagName case folding issue. Also: version bump. Firefox 4.0 compat flag. --- content/resurrect.js | 4 ++-- install.rdf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/resurrect.js b/content/resurrect.js index c9f1b2f..5b6c721 100644 --- a/content/resurrect.js +++ b/content/resurrect.js @@ -59,7 +59,7 @@ var resurrect={ var el=document.popupNode; try { - while (el && el.tagName && 'A'!=el.tagName) { + while (el && el.tagName && 'A'!=el.tagName.toUpperCase()) { el=el.parentNode; } resurrect.showDialog(el.href); @@ -127,7 +127,7 @@ var resurrect={ // Run the actual code. After timeout for UI repaint. setTimeout( resurrect.selectMirror, 1, - event.target.getAttribute('value'), + event.target.getAttribute('value'), event.target.ownerDocument, contentDoc, rawUrl ); diff --git a/install.rdf b/install.rdf index 83dabec..8d3d3df 100644 --- a/install.rdf +++ b/install.rdf @@ -3,7 +3,7 @@ {0c8fbd76-bdeb-4c52-9b24-d587ce7b9dc3} Resurrect Pages - 2.0.5 + 2.0.6 Resurrect dead pages, by finding their ghosts. http://trac.arantius.com/wiki/Extensions/Resurrect @@ -16,7 +16,7 @@ {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 3.0 - 3.6.* + 4.0.*