This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Slight change to HeadHelper.sameAs

  • Loading branch information...
danciu
danciu committed Sep 7, 2008
1 parent b968765 commit e7e14b91e774f06726f09d55b186b68538821435
Showing with 1 addition and 1 deletion.
  1. +1 −1 lift/src/main/scala/net/liftweb/util/HeadHelper.scala
@@ -53,7 +53,7 @@ object HeadHelper {
(!node1.attribute("id").isEmpty && node1.attribute("id").equals(node2.attribute("id"))) ||
(!node1.attribute("src").isEmpty && node1.attribute("src").equals(node2.attribute("src"))) ||
(!node1.attribute("href").isEmpty && node1.attribute("href").equals(node2.attribute("href"))) ||
- (node1.child != NodeSeq.Empty && node1.child.equals(node2.child))
+ (!node1.child.isEmpty && (node1.child.equals(node2.child)))
}
case _ => false
}

0 comments on commit e7e14b9

Please sign in to comment.