Send changelog CSS and images.

This commit is contained in:
Rob Nelson
2014-01-20 20:28:16 -08:00
parent 9555a2440f
commit 27870838f6

View File

@@ -31,6 +31,28 @@
if(client)
//If the changelog has changed, show it to them
if(client.prefs.lastchangelog != changelog_hash)
// Need to send them the CSS and images :V
client.getFiles(
'html/postcardsmall.jpg',
'html/somerights20.png',
'html/88x31.png',
'html/bug-minus.png',
'html/cross-circle.png',
'html/hard-hat-exclamation.png',
'html/image-minus.png',
'html/image-plus.png',
'html/music-minus.png',
'html/music-plus.png',
'html/tick-circle.png',
'html/wrench-screwdriver.png',
'html/spell-check.png',
'html/burn-exclamation.png',
'html/chevron.png',
'html/chevron-expand.png',
'html/changelog.css',
'html/changelog.js',
'html/changelog.html'
)
src << browse('html/changelog.html', "window=changes;size=675x650")
client.prefs.lastchangelog = changelog_hash
client.prefs.save_preferences()