mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Merge pull request #1538 from ether/timeslider-init-hook
timeslider init hook
This commit is contained in:
commit
5b89242c5b
1 changed files with 5 additions and 1 deletions
|
@ -29,8 +29,9 @@ var createCookie = require('./pad_utils').createCookie;
|
||||||
var readCookie = require('./pad_utils').readCookie;
|
var readCookie = require('./pad_utils').readCookie;
|
||||||
var randomString = require('./pad_utils').randomString;
|
var randomString = require('./pad_utils').randomString;
|
||||||
var _ = require('./underscore');
|
var _ = require('./underscore');
|
||||||
|
var hooks = require('./pluginfw/hooks');
|
||||||
|
|
||||||
var socket, token, padId, export_links;
|
var token, padId, export_links;
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
$(document).ready(function ()
|
$(document).ready(function ()
|
||||||
|
@ -106,6 +107,9 @@ function init() {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
exports.socket = socket; // make the socket available
|
||||||
|
hooks.aCallAll("postTimesliderInit");
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue