aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/static/js/notifications.js
blob: 77793b34ab9d68278b4433a5c07d0f31e3f9b331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';
var notifications = {};

(function (n) {
    n._base = '/';
    n._endpoint = 'notifications/json';

    n.init = function () {
        $('.notification-gem').on('click', function () {
            $('.header_dropdown_down:visible').click();
        });
    }

})(notifications)

$(document).ready(function () {
    notifications.init();
});