Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Commit

Permalink
Slight change to HeadHelper.sameAs
Browse files Browse the repository at this point in the history
  • Loading branch information
danciu committed Sep 7, 2008
1 parent b968765 commit e7e14b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lift/src/main/scala/net/liftweb/util/HeadHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e7e14b9

Please sign in to comment.