Skip to content

Commit

Permalink
fixes bookmark click not working bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fczuardi committed May 8, 2014
1 parent a158d03 commit 23a2833
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "companion",
"version": "0.6.1",
"version": "0.6.2",
"description": "Companion is a mobile application to track schedules of conferences and events.",
"scripts": {
"cordova-setup": "./node_modules/.bin/gulp cordova:setup",
Expand Down
4 changes: 4 additions & 0 deletions src/scripts/lib/companion/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,11 @@ module.exports = function($, FISLParser, templates){

var initSessions = function(){
// time navigation buttons (list view)
$('#time-nav li a').off();
$('#time-nav li a').click(timeNavClicked);

// add to calendar buttons
$('.calendar-add-button').off();
$('.calendar-add-button').click(function(event){
cordovaFunctions.addToCalendarButtonClicked(
event,
Expand All @@ -230,6 +232,7 @@ module.exports = function($, FISLParser, templates){
$('.refresh-feed').click(manualFetchClicked);

// bookmark buttons
$('.bookmark-button').off();
$('.bookmark-button').click(bookmarkButtonClicked);

//add favorite class to all bookmarked sessions
Expand All @@ -244,6 +247,7 @@ module.exports = function($, FISLParser, templates){
applyBookmarksFilter();

// map links
$('.room-link').off();
$('.room-link').click(mapLinkClicked);

//setup collapsable sessions in and out events
Expand Down

0 comments on commit 23a2833

Please sign in to comment.