Send jquery asset when initializing tooltips

This commit is contained in:
Tad Hardesty
2018-05-14 12:20:10 -07:00
parent 11e624d446
commit 74eba4a320
2 changed files with 14 additions and 5 deletions

View File

@@ -42,6 +42,8 @@ Notes:
/datum/tooltip/New(client/C)
if (C)
owner = C
var/datum/asset/stuff = get_asset_datum(/datum/asset/simple/jquery)
stuff.send(owner)
owner << browse(file2text('code/modules/tooltip/tooltip.html'), "window=[control]")
..()