0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Merge pull request #2294 from shashankmehta/apps-config

Shifts app UI behind config option
This commit is contained in:
Hannah Wolfe 2014-03-04 20:21:13 +00:00
commit a17067d8e6

View file

@ -38,6 +38,11 @@
initialize: function (options) {
this.render();
this.menu = this.$('.settings-menu');
// Hides apps UI unless config.js says otherwise
// This will stay until apps UI is ready to ship
if ($(this.el).attr('data-apps') !== "true") {
this.menu.find('.apps').hide();
}
this.showContent(options.pane);
},