Skip to content

Commit

Permalink
Fix JSLint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Feb 25, 2020
1 parent 762f4ed commit a1f4545
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/adm_config_report.js
Expand Up @@ -19,6 +19,8 @@
*/

$(document).ready( function() {
"use strict";

/**
* Display the complex element and load its contents if necessary.
*
Expand All @@ -29,7 +31,7 @@ $(document).ready( function() {
container.find('.expand_show').hide();
// Load contents if not already done and display
var content = container.find('.expand_content');
if (content[0].childElementCount == 0) {
if (content[0].childElementCount === 0) {
var req_data = {
'config_id': container.data('config_id'),
'project_id': container.data('project_id'),
Expand Down

0 comments on commit a1f4545

Please sign in to comment.