Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7438617

Browse filesBrowse files
committed
bug #19038 Fix feature detection for IE (Alsciende)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #19038). Discussion ---------- Fix feature detection for IE | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | operator `!` has higher precedence (4) than operator `in` (8). Parentheses are mandatory here to have a chance at passing the test. Commits ------- b35658b Fix feature detection for IE
2 parents ad1ffc5 + b35658b commit 7438617
Copy full SHA for 7438617

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
var addEventListener;
210210
211211
var el = document.createElement('div');
212-
if (!'addEventListener' in el) {
212+
if (!('addEventListener' in el)) {
213213
addEventListener = function (element, eventName, callback) {
214214
element.attachEvent('on' + eventName, callback);
215215
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.