We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0606c18 commit 4036bb1Copy full SHA for 4036bb1
files/snippets.js
@@ -34,7 +34,8 @@ jQuery(document).ready(function($) {
34
$(data.selector).each(function() {
35
var textarea = $(this);
36
37
- if (data.snippets !== null) {
+ // Only display snippets selector if there are any
38
+ if (data.snippets) {
39
try {
40
// Create Snippets select
41
var select = $("<select></select>");
0 commit comments