mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-05-06 17:34:11 +00:00
parent
396efedc3f
commit
9e9b9a3bf1
@ -143,9 +143,11 @@ NavigatorWidget.prototype.addToHistory = function(title,fromPageRect) {
|
|||||||
Handle a tm-navigate event
|
Handle a tm-navigate event
|
||||||
*/
|
*/
|
||||||
NavigatorWidget.prototype.handleNavigateEvent = function(event) {
|
NavigatorWidget.prototype.handleNavigateEvent = function(event) {
|
||||||
this.addToStory(event.navigateTo,event.navigateFromTitle);
|
if(event.navigateTo) {
|
||||||
if(!event.navigateSuppressNavigation) {
|
this.addToStory(event.navigateTo,event.navigateFromTitle);
|
||||||
this.addToHistory(event.navigateTo,event.navigateFromClientRect);
|
if(!event.navigateSuppressNavigation) {
|
||||||
|
this.addToHistory(event.navigateTo,event.navigateFromClientRect);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user