Merge remote-tracking branch 'origin/QA_4_5' into QA_4_5
This commit is contained in:
commit
658eedb405
@ -2,15 +2,13 @@
|
||||
/**
|
||||
* Conditionally included if framing is not allowed
|
||||
*/
|
||||
$(function () {
|
||||
if (self == top) {
|
||||
var style_element = document.getElementById("cfs-style");
|
||||
// check if style_element has already been removed
|
||||
// to avoid frequently reported js error
|
||||
if (typeof(style_element) != 'undefined' && style_element != null) {
|
||||
style_element.parentNode.removeChild(style_element);
|
||||
}
|
||||
} else {
|
||||
top.location = self.location;
|
||||
if (self == top) {
|
||||
var style_element = document.getElementById("cfs-style");
|
||||
// check if style_element has already been removed
|
||||
// to avoid frequently reported js error
|
||||
if (typeof(style_element) != 'undefined' && style_element != null) {
|
||||
style_element.parentNode.removeChild(style_element);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
top.location = self.location;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user