Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1015)

Unified Diff: samples-dev/swarm/UIState.dart

Issue 1766533002: Untested hacks to swarm to avoid warnings. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: MouseEvent Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | samples-dev/swarm/swarm_ui_lib/touch/FxUtil.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples-dev/swarm/UIState.dart
diff --git a/samples-dev/swarm/UIState.dart b/samples-dev/swarm/UIState.dart
index dffb1c799e69bf6c7c7866b1e2f93003380e24e7..2d408431b493abc03bc108c478a1215260cffc77 100644
--- a/samples-dev/swarm/UIState.dart
+++ b/samples-dev/swarm/UIState.dart
@@ -60,7 +60,8 @@ abstract class UIState {
// TODO(jmesserly): [state] should be an Object, and we should pass it to
// the state parameter instead of as a #hash URL. Right now we're working
// around b/4582542.
- window.history.pushState(null, '${document.title}#$state');
+ window.history.pushState(null,
+ '${document.title}', '${document.title}#$state');
}
/**
« no previous file with comments | « no previous file | samples-dev/swarm/swarm_ui_lib/touch/FxUtil.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698