1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

[mobile] my libs: redesigned it

This commit is contained in:
llj
2016-11-29 15:03:13 +08:00
parent 214fd20fbb
commit 7a9a89a7d1
6 changed files with 84 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ define([
var $toggle = this.$('.sf-dropdown-toggle');
var $menu = this.$('.sf-dropdown-menu');
app.ui.currentDropdown = this;
if (this.options.right) {
if (this.options.right != undefined) {
$menu.css('right', this.options.right);
} else {
$menu.css('left', this.options.left);