Browse
For agents
About
Multi Device Switcher
/
1.4.0
Multi Device Switcher
v1.4.0
Switch version
trunk
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.1.1
1.1.2
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.6.0
1.6.1
1.6.2
All 34 releases
Overview
Code
multi-device-switcher
/
multi-device-switcher.js
multi-device-switcher.js
in Multi Device Switcher 1.4.0, at multi-device-switcher.js
15 lines
394 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
2
(
function
(
$
)
{
3
$
(
function
(
)
{
4
if
(
!
$
(
'
#admin-tabs
'
)
.
length
)
return
;
5
$
(
'
#admin-tabs
'
)
.
prepend
(
'
<ul><
\/
ul>
'
)
;
6
$
(
'
#admin-tabs > fieldset
'
)
.
each
(
function
(
i
)
{
7
id
=
$
(
this
)
.
attr
(
'
id
'
)
;
8
caption
=
$
(
this
)
.
find
(
'
h3.label
'
)
.
text
(
)
;
9
$
(
'
#admin-tabs > ul
'
)
.
append
(
'
<li><a href="#
'
+
id
+
'
"><span>
'
+
caption
+
'
<
\/
span><
\/
a><
\/
li>
'
)
;
10
}
)
;
11
12
$
(
'
#admin-tabs
'
)
.
tabs
(
)
;
13
}
)
;
14
}
)
(
jQuery
)
;
15