don't remove these methods
This commit is contained in:
parent
348ae0b61d
commit
6dffdd8152
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,15 @@ var Mobile = {
|
|||
initialize: function() {
|
||||
$("abbr.timeago").timeago();
|
||||
$('#main_stream + .pagination').hide();
|
||||
$('#aspect_picker').change(Mobile.changeAspect);
|
||||
},
|
||||
|
||||
changeAspect: function() {
|
||||
Mobile.windowLocation('/aspects/' + $('#aspect_picker option:selected').val());
|
||||
},
|
||||
|
||||
windowLocation: function(url) {
|
||||
window.location = url;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue