mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Remove unused goBack / goForward verbs
This commit is contained in:
2 files changed
-24
No files matched your search
@@ -160,16 +160,6 @@ consistent handling of both text and binary data across the messaging protocol.
|
|||||||
**Parameters:** None
|
**Parameters:** None
|
||||||
**Result:** None (notification only)
|
**Result:** None (notification only)
|
||||||
|
|
||||||
#### `goBack`
|
|
||||||
**Purpose:** Navigate back in the iframe's history
|
|
||||||
**Parameters:** None
|
|
||||||
**Result:** None (notification only)
|
|
||||||
|
|
||||||
#### `goForward`
|
|
||||||
**Purpose:** Navigate forward in the iframe's history
|
|
||||||
**Parameters:** None
|
|
||||||
**Result:** None (notification only)
|
|
||||||
|
|
||||||
#### `updateNavigationState`
|
#### `updateNavigationState`
|
||||||
**Purpose:** Update parent about iframe's current navigation state
|
**Purpose:** Update parent about iframe's current navigation state
|
||||||
**Parameters:**
|
**Parameters:**
|
||||||
|
|||||||
@@ -193,12 +193,6 @@ class NavigationHandler {
|
|||||||
case "refresh":
|
case "refresh":
|
||||||
this.handleRefresh();
|
this.handleRefresh();
|
||||||
break;
|
break;
|
||||||
case "goBack":
|
|
||||||
this.handleGoBack();
|
|
||||||
break;
|
|
||||||
case "goForward":
|
|
||||||
this.handleGoForward();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -286,14 +280,6 @@ class NavigationHandler {
|
|||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
handleGoBack() {
|
|
||||||
window.history.back();
|
|
||||||
}
|
|
||||||
|
|
||||||
handleGoForward() {
|
|
||||||
window.history.forward();
|
|
||||||
}
|
|
||||||
|
|
||||||
updateNavigationState() {
|
updateNavigationState() {
|
||||||
// Use tracked semantic path, fallback to current location if needed
|
// Use tracked semantic path, fallback to current location if needed
|
||||||
const semanticPath = this.currentSemanticPath || this.extractSemanticPath(window.location);
|
const semanticPath = this.currentSemanticPath || this.extractSemanticPath(window.location);
|
||||||
|
|||||||
Reference in new issue
Block a user