Skip to content

Commit

Permalink
Solve HAML linter offense - IdNames
Browse files Browse the repository at this point in the history
Write html id in 'lisp-case'.
  • Loading branch information
bgeuken committed Aug 21, 2018
1 parent 986510f commit 77b009b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -37,7 +37,7 @@ $( document ).ready(function() {

$(document).on('xhr.dt', '.requests-datatable', function(e, settings, json) {
if (json) {
$('#request_count').text('(' + json.recordsTotal + ')');
$('#request-count').text('(' + json.recordsTotal + ')');
}
});

Expand Down
Expand Up @@ -7,6 +7,6 @@
= select_tag('request_state_select',
options_for_select(Webui::RequestHelper::AVAILABLE_STATES, @default_request_state),
data: { table: 'all_requests_table' })
%span#request_count
%span#request-count
\:
= image_tag('ajax-loader.gif', id: 'spinner', class: 'hidden')

0 comments on commit 77b009b

Please sign in to comment.