mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Print dialog now auto opens on print page
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# changelog
|
||||
|
||||
### Saturday, 14/05/2016 - v2.0.0 (finally!)
|
||||
|
||||
I've been working on v2 for a *very* long time. I want to thank you guys for being paitent.
|
||||
It started rather small, but as more and more features were added, I decided to just wait until everything was polished.
|
||||
|
||||
|
||||
### Wednesday, 20/04/2016
|
||||
- A lot of admin improvements. Pagninated brew table
|
||||
|
||||
@@ -91,7 +91,7 @@ module.exports = function(app){
|
||||
}).join('\n');
|
||||
|
||||
var title = '<title>' + brew.title + '</title>';
|
||||
var page = '<html><head>' + title + PHBStyle + '</head><body>' + content +'</body></html>'
|
||||
var page = '<html><head>' + title + PHBStyle + '</head><body onload="window.print()">' + content +'</body></html>'
|
||||
|
||||
return res.send(page)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user