mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
remove debug logging and spaces
This commit is contained in:
parent
0ddc490b8d
commit
26df8d7784
@ -145,8 +145,6 @@ this.load = function() {
|
||||
|
||||
if (wbinfo.top_url && (loc != wbinfo.top_url) && wbinfo.mod != "bn_") {
|
||||
// Auto-redirect to top frame
|
||||
console.log(wbinfo.top_url);
|
||||
console.log(loc);
|
||||
window.location.replace(wbinfo.top_url + hash);
|
||||
} else {
|
||||
// Init Banner (no frame or top frame)
|
||||
|
@ -984,7 +984,7 @@ _WBWombat = (function() {
|
||||
|
||||
if (window.parent == window.top) {
|
||||
window.parent = window;
|
||||
|
||||
|
||||
// Disable frameElement also as this should be top frame
|
||||
if (Object.defineProperty) {
|
||||
Object.defineProperty(window, "frameElement", {value: undefined, configurable: false});
|
||||
|
Loading…
x
Reference in New Issue
Block a user