Created
June 7, 2013 20:46
-
-
Save mreidsma/5732308 to your computer and use it in GitHub Desktop.
Hide the database recommender in Summon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function() { | |
| if($("#databaseSuggestion").length > 0) { | |
| // Database suggestion is on this page | |
| $("#databaseSuggestion").hide(); | |
| } | |
| }); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.