1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 01:41:39 +00:00
This commit is contained in:
Daniel Pan
2016-04-01 15:57:42 +08:00
parent 900b06e349
commit 36b141a83c
2 changed files with 1 additions and 7 deletions

View File

@@ -38,14 +38,8 @@ define([
var PopoverView = Backbone.View.extend({
defaultOptions: {
'left': '0px'
},
initialize: function(options) {
this.$el.on('click', '.close', _.bind(this.hide, this));
this.options = {};
_.extend(this.options, this.defaultOptions, options);
},
// set max-height for '.popover-con'