mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-04 15:20:27 +00:00
Fixed syntax of jQuery selector
We recently updated to jQuery 2.x and this requires quotes around attribute values. Fixes #2380 Fixes #2381
This commit is contained in:
parent
959d72c30c
commit
9e1e12b5a6
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ function initErrorDetection() {
|
|||
|
||||
// now identify them on each tab
|
||||
for (var index in errorSections) {
|
||||
$('.tab-nav a[href=#' + index + ']').addClass('errors').attr('data-count', errorSections[index]);
|
||||
$('.tab-nav a[href="#' + index + '"]').addClass('errors').attr('data-count', errorSections[index]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue