diff --git a/ChangeLog b/ChangeLog index 1cd8fac5c9..40ba51c9c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,7 @@ phpMyAdmin - ChangeLog - issue #11810 'Add to central columns' (per column button) does nothing - issue #11727 SQL duplicate entry error trying to INSERT in designer_settings table - issue #11798 Fix handling of databases with dot in a name +- issue #11820 Fix hiding of page content behind menu 4.5.3.1 (2015-12-25) - issue #11774 Undefined offset 2 diff --git a/js/cross_framing_protection.js b/js/cross_framing_protection.js index 49013f65c9..70e298b9ac 100644 --- a/js/cross_framing_protection.js +++ b/js/cross_framing_protection.js @@ -2,7 +2,7 @@ /** * Conditionally included if framing is not allowed */ -window.onload = function () { +$(function () { if (self == top) { var style_element = document.getElementById("cfs-style"); // check if style_element has already been removed @@ -13,4 +13,4 @@ window.onload = function () { } else { top.location = self.location; } -} +});