Skip to content

Commit

Permalink
修复pop自定义按钮class错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zkeyword committed Nov 19, 2015
1 parent 6234419 commit 666236c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ saogaUI
-- css
-- images

-- www 开发目录
-- dev 开发目录

-- js
-- app 业务代码
Expand All @@ -58,8 +58,8 @@ saogaUI
-- lib 第三方基本库
-- styles.less 统一入口

-- images
-- default
-- sprite
-- img
-- default 一般图片
-- sprite 需要合并的图片

-- doc 实例文档
2 changes: 1 addition & 1 deletion dev/js/core/pop.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ define(['core/saogaUI'], function(saogaUI){

for(; i<len; i++){
var item = btns[i],
cls = 'ui-btn ui-floatCenter-item ui-btn-primary'+ (item.cls ? item.cls :'');
cls = 'ui-btn ui-floatCenter-item ui-btn-primary'+ (item.cls ? ' ' + item.cls :'');
html += '<a href="javascript:;" data-index="'+ i +'" class="'+ cls +'"><span>'+item.text+'</span></a>';
}

Expand Down

0 comments on commit 666236c

Please sign in to comment.