diff --git a/scp/js/scp.js b/scp/js/scp.js index 976f055cd8ec90eaa4f57bf9d8181f2a0dcc1ca0..0a4b1160904999130ccf003f5ca72a2aceeee611 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -713,7 +713,7 @@ $.dialog = function (url, codes, cb, options) { $('#msg_notice, #msg_error', $popup).delay(5000).slideUp(); $('div.tab_content[id] div.error:not(:empty)', $popup).each(function() { var div = $(this).closest('.tab_content'); - $('a[href^=#'+div.attr('id')+']').parent().addClass('error'); + $('a[href^="#'+div.attr('id')+'"]').parent().addClass('error'); }); } }