diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-10-12 16:30:47 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-10-12 16:30:47 -0400 |
commit | cb68f9f589bff6c43da5a2797e8e7b29f905b0ed (patch) | |
tree | 8fcbd70bdacb562dcf9e6601783b42a5ada45d9e /js | |
parent | 95542f96ebf58cf48e7ca44d18a4c30724873f93 (diff) |
move firstrun js to an independent script
Diffstat (limited to 'js')
-rw-r--r-- | js/firstrun.js | 9 | ||||
-rw-r--r-- | js/main.js | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/js/firstrun.js b/js/firstrun.js index e69de29bb..532b0e9cb 100644 --- a/js/firstrun.js +++ b/js/firstrun.js @@ -0,0 +1,9 @@ +var News = News || {}; + +$(document).ready(function(){ + + $('#browsebtn_firstrun, #cloudbtn_firstrun, #importbtn_firstrun').hide(); + +}); + + diff --git a/js/main.js b/js/main.js index e8942e096..6c88e9cfe 100644 --- a/js/main.js +++ b/js/main.js @@ -23,11 +23,6 @@ $(document).ready(function(){ News.Objects.Menu = new News.Menu(menuUpdateIntervalMiliseconds, News.Objects.Items); News.Objects.Menu.bindOn('#feeds > ul'); - /* first run script begins */ - $('#browsebtn_firstrun, #cloudbtn_firstrun, #importbtn_firstrun').hide(); - - /* first run script ends */ - $('#addfeed').click(function() { $('#addfeed_dialog').dialog('open'); $('#feed_add_url').html(''); |