Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fixes improper variable name in dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Sep 15, 2015
1 parent df81827 commit bda85e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ function MdDialogProvider($$interimElementProvider) {
// the DOM element.
if ( angular.isString(options.parent) ) {
var simpleSelector = options.parent,
container = $document[0].querySelectorAll(selector);
container = $document[0].querySelectorAll(simpleSelector);
options.parent = container.length ? container[0] : null;
}
// If we have a reference to a raw dom element, always wrap it in jqLite
Expand Down

1 comment on commit bda85e2

@ThomasBurleson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx Rob. This was a silly oversight; not easily testable due to access...

Please sign in to comment.