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

Unified Diff: lib/components/modal.dart

Issue 14295009: Fix widget.dart to work with the latest web_ui library. Specifically, query selectors need to use "… (Closed) Base URL: https://github.com/kevmoo/widget.dart.git@master
Patch Set: ptal Created 7 years, 8 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 | « lib/components/dropdown.html ('k') | lib/components/modal.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/components/modal.dart
diff --git a/lib/components/modal.dart b/lib/components/modal.dart
index 65fcfe5dcedd3572a9fe3c99009f2710ce710931..3d28e063a473e61f367baa36aaead45ab7ede840 100644
--- a/lib/components/modal.dart
+++ b/lib/components/modal.dart
@@ -68,7 +68,7 @@ class Modal extends WebComponent implements ShowHideComponent {
}
}
- Element _getModalElement() => this.query('x-modal > .modal');
+ Element _getModalElement() => this.query('[is=x-modal] > .modal');
void _onClick(MouseEvent event) {
if(!event.defaultPrevented) {
« no previous file with comments | « lib/components/dropdown.html ('k') | lib/components/modal.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698