Skip to content

Commit

Permalink
Dev: Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 3, 2016
1 parent c33cde3 commit c8d1b64
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions scripts/admin/notifications.js
Expand Up @@ -68,16 +68,6 @@ $(document).ready(function() {
});
}

/**
* Event function run when notification is clicked
* @param {object} that The notification link
* @param {url} URL to fetch notification as JSON
* @return
*/
function notificationClicked(that, url) {
showNotificationModal(that, url);
}

/**
* Bind onclick and stuff
* @return
Expand All @@ -98,7 +88,7 @@ $(document).ready(function() {

// Bind click to notification in drop-down
$(that).on('click', function() {
notificationClicked(that, url);
showNotificationModal(that, url);
});

});
Expand Down

0 comments on commit c8d1b64

Please sign in to comment.