1
0
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:
Ilya Kreymer 2015-02-19 01:17:31 -08:00
parent 0ddc490b8d
commit 26df8d7784
2 changed files with 1 additions and 3 deletions

View File

@ -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)

View File

@ -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});