Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
17af90f2
Commit
17af90f2
authored
Mar 01, 2017
by
Rafael Ostertag
Browse files
escapeJqueryIdSelector(): Also escape dot `.`
parent
fdb2108d
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Utils.js
View file @
17af90f2
...
...
@@ -14,6 +14,6 @@ var QfqNS = QfqNS || {};
'
use strict
'
;
n
.
escapeJqueryIdSelector
=
function
(
idSelector
)
{
return
idSelector
.
replace
(
/
(
:
)
/
,
"
\\
$1
"
);
return
idSelector
.
replace
(
/
(
:
|
\.
)
/
,
"
\\
$1
"
);
};
})(
QfqNS
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment