Skip to content

Instantly share code, notes, and snippets.

@mreidsma
Created June 7, 2013 20:46
Show Gist options
  • Select an option

  • Save mreidsma/5732308 to your computer and use it in GitHub Desktop.

Select an option

Save mreidsma/5732308 to your computer and use it in GitHub Desktop.
Hide the database recommender in Summon
$(document).ready(function() {
if($("#databaseSuggestion").length > 0) {
// Database suggestion is on this page
$("#databaseSuggestion").hide();
}
});
@mreidsma
Copy link
Copy Markdown
Author

mreidsma commented Jun 7, 2013

Save this as a separate file and upload it to your web server. You can add this to Summon with the techniques described here: https://github.com/gvsulib/summon-stats#adding-the-script-to-summon

If you already have a script running, just add lines 3-9 to your existing script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment