Преглед на файлове

Merge pull request #4258 from rwinch/gh-pages

Merge spring-projects/gh-pages
Rob Winch преди 8 години
родител
ревизия
a1afe18af5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      js/projectDocumentationWidget.js

+ 1 - 1
js/projectDocumentationWidget.js

@@ -95,7 +95,7 @@ Spring.SnippetView = Backbone.View.extend({
     this.combinedTemplate = _.template(
     	"<div class=\"highlight\"><pre><code>" +
         downloadTemplate.find("code:first").html() +
-        "{@ if (repository) { @}" +
+        "{@ if (typeof(repository) != \"undefined\") { @}" +
         repositoryTemplate.find("code:first").html() +
         "{@ } @}" +
         "</code></pre></div>"