Roo/bootstrap/Pagination.js
authorJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 07:12:46 +0000 (15:12 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 07:12:46 +0000 (15:12 +0800)
Roo/bootstrap/Pagination.js

index 0aa12fe..5dcc4ee 100644 (file)
@@ -63,11 +63,11 @@ Roo.extend(Roo.bootstrap.Pagination, Roo.bootstrap.Component,  {
             cfg.cn.push(
                 {
                     tag: 'li',
+                    cls: active===i?'active':'',
                     cn: [
                         {
                             tag: 'a',
                             href: '#',
-                            cls: active===i?'active':'',
                             html: i
                         }
                     ]