Added comment header and refactored code slightly.

This commit is contained in:
Josh Sherman 2010-03-12 22:57:19 -05:00
parent 746efec194
commit 8bff272e8b

View file

@ -1,5 +1,12 @@
window.onload = function() {
if (top.location != location) {
top.location.href = document.location.href;
/**
* Frame Break
*
* Include on any pages you don't want to be framed
*/
window.onload = function()
{
if (top.location != self.location)
{
top.location.replace(self.location);
}
}