Skip to content

Commit

Permalink
Fix reference footer link to use npm generated git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
limzykenneth committed Jul 7, 2021
1 parent 3d503f1 commit 71bcb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/js/reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -4122,7 +4122,7 @@ define('itemView',[
], function(App, itemTpl, classTpl, endTpl) {
'use strict';

var appVersion = App.project.version || 'master';
var appVersion = App.project.version ? 'v' + App.project.version : 'master';

var itemView = Backbone.View.extend({
el: '#item',
Expand Down
2 changes: 1 addition & 1 deletion src/yuidoc-p5-theme-src/scripts/views/itemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ define([
], function(App, itemTpl, classTpl, endTpl) {
'use strict';

var appVersion = App.project.version || 'master';
var appVersion = App.project.version ? 'v' + App.project.version : 'master';

var itemView = Backbone.View.extend({
el: '#item',
Expand Down

0 comments on commit 71bcb6c

Please sign in to comment.