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

Unified Diff: client/web/minimap-element.dart

Issue 149573008: Factor out the anchor prefix to easily allow switching to #! (Closed) Base URL: https://github.com/dart-lang/dartdoc-viewer.git@master
Patch Set: Fixes from review Created 6 years, 10 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 | « client/web/minimap-class.html ('k') | client/web/minimap-element.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/web/minimap-element.dart
diff --git a/client/web/minimap-element.dart b/client/web/minimap-element.dart
index 580f6a973da9f1a04635a5ba88ab763ae94a8271..cbb9f999f6d2be884767cbcc77cf65fe4a7083b6 100644
--- a/client/web/minimap-element.dart
+++ b/client/web/minimap-element.dart
@@ -37,7 +37,8 @@ class MinimapElement extends PolymerElement {
itemChanged() {
if (category == null || item == null) return;
- categoryLink = '#${item.linkHref}@${category.name.replaceAll(" ", "-")}';
+ categoryLink =
+ '${item.prefixedLinkHref}@${category.name.replaceAll(" ", "-")}';
}
categoryChanged() {
« no previous file with comments | « client/web/minimap-class.html ('k') | client/web/minimap-element.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698