From aa354ab95bd6a31e218264e224aa7e9838cfc983 Mon Sep 17 00:00:00 2001 From: teramako Date: Mon, 11 Feb 2013 21:33:23 +0900 Subject: 変な書き方を修正 --- lookupDictionary.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lookupDictionary.js') diff --git a/lookupDictionary.js b/lookupDictionary.js index 3acfeca..4ca4e39 100644 --- a/lookupDictionary.js +++ b/lookupDictionary.js @@ -250,8 +250,10 @@ function getNodeFromXPath(xpath,doc,isMulti) { if (isMulti) { let nodesSnapshot = doc.evaluate(xpath,doc.documentElement,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null); if (nodesSnapshot.snapshotLength == 0) return; - result = document.createElementNS(null,'div'); - for (let i=0; i