-
Notifications
You must be signed in to change notification settings - Fork 2
/
scripts.js
21 lines (15 loc) · 875 Bytes
/
scripts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Mechanism to pull in additional CSS or JavaScript files
// Textual.include_css("more_theme.css");
// Function called when new message from IRC has been posted to display
// Textual.newMessagePostedToDisplay = function(lineNumber)
// {
// var newLine = document.getElementById("line" + lineNumber);
// }
// Functions called for contextual menus used within WebView
// DO NOT change without knowledge of what to do.
// Safe to remove from source code if not needed.
// Textual.on_url = function() { app.setUrl(event.target.innerHTML); }
// Textual.on_addr = function() { app.setAddr(event.target.innerHTML); }
// Textual.on_chname = function() { app.setChan(event.target.innerHTML); }
// Textual.on_ct_nick: function() { app.setNick(event.target.innerHTML); }
// Textual.on_nick = function() { app.setNick(event.target.parentNode.parentNode.getAttribute('nick')); }