Skip to content

Commit

Permalink
Merge branch '1305-undefined-popover'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 22, 2013
2 parents ae0b484 + 1e9874c commit ab601ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ckan/public/base/javascript/main.js
Expand Up @@ -35,7 +35,11 @@ this.ckan = this.ckan || {};
ckan.i18n.load(data);
ckan.module.initialize();
});
jQuery('[data-target="popover"]').popover();

if (jQuery.fn.popover !== undefined) {
jQuery('[data-target="popover"]').popover();
}

};

/* Returns a full url for the current site with the provided path appended.
Expand Down

0 comments on commit ab601ec

Please sign in to comment.