Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Fix broken JavaScript
Browse files Browse the repository at this point in the history
  • Loading branch information
morty committed Jan 26, 2016
1 parent 552f6ba commit 8f28790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/dgu/theme/src/scripts/dgu-package.js
Expand Up @@ -67,7 +67,7 @@ $(function() {
var commentsSpinner = new Spinner(spinConfig).spin(spinDiv);

// DATASET_ID is only set on dataset page, not on resource page.
if(DATASET_ID in window) {
if('DATASET_ID' in window) {
var url = '/comment/get/'+window.DATASET_ID+'?comments_per_page=999999';
$.ajax({
url: url,
Expand Down

0 comments on commit 8f28790

Please sign in to comment.