-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui.js
More file actions
24 lines (22 loc) · 681 Bytes
/
Copy pathui.js
File metadata and controls
24 lines (22 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$(function () {
$(".show-toolbar").click(function () {
$(".show-toolbar").hide();
$("#other-sites").css({
top: -$("#other-sites").outerHeight()
}).show().animate({
top: "40px"
});
});
$("#other-sites .hide").live("click", function () {
$("#other-sites").animate({
top: -$("#other-sites").outerHeight()
}, function () {
$(".show-toolbar").show();
});
});
$("#theme-selector").val(SOChrome.getOption('theme'))
.change(function () {
SOChrome.setOption('theme', $(this).val());
SOChrome.setTheme($(this).val());
});
});