mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
Fixes
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
</div>
|
||||
{% else %} {# for non-logged-in user #}
|
||||
<div class="fright" id="lang">
|
||||
<a href="#" id="lang-context" title="language selector" data-lang="{{ LANGUAGE_CODE }}">{{ LANGUAGE_CODE|language_name_local }} <span class="icon-caret-down"></span></a>
|
||||
<a href="#" id="lang-context" data-lang="{{ LANGUAGE_CODE }}">{{ LANGUAGE_CODE|language_name_local }} <span class="icon-caret-down"></span></a>
|
||||
<ul id="lang-context-selector" class="hide">
|
||||
{% for LANG in LANGUAGES %}
|
||||
<li><a href="{% url 'i18n' %}?lang={{ LANG.0 }}">{{ LANG.1 }}</a></li>
|
||||
|
@@ -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'
|
||||
|
Reference in New Issue
Block a user