Skip to content

Commit b4b36c0

Browse files
committed
Remove unused quote_attr() function
1 parent 2a5adf9 commit b4b36c0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

templates/switchers.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ const version_regexs = [
1111
const all_versions = $VERSIONS;
1212
const all_languages = $LANGUAGES;
1313

14-
function quote_attr(str) {
15-
return '"' + str.replace('"', '\\"') + '"';
16-
}
17-
1814
const _create_version_select = (release) => {
1915
const major_minor = release.split('.').slice(0, 2).join('.');
2016
const select = document.createElement('select');

0 commit comments

Comments
 (0)