mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-30 17:21:53 +08:00
Some general code cleanup.
This commit is contained in:
@@ -43,8 +43,8 @@ var Notifications = {
|
||||
Engine.saveGame();
|
||||
},
|
||||
|
||||
printMessage: function(text) {
|
||||
var text = $('<div>').addClass('notification').css('opacity', '0').text(text).prependTo('div#notifications');
|
||||
printMessage: function(t) {
|
||||
var text = $('<div>').addClass('notification').css('opacity', '0').text(t).prependTo('div#notifications');
|
||||
text.animate({opacity: 1}, 500, 'linear');
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user