Skip to content
Browse files

Slight change to HeadHelper.sameAs

  • Loading branch information...
1 parent b968765 commit e7e14b91e774f06726f09d55b186b68538821435 danciu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lift/src/main/scala/net/liftweb/util/HeadHelper.scala
View
2 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.
Something went wrong with that request. Please try again.