Upgraded to latest aero version
This commit is contained in:
@ -6,8 +6,8 @@ import (
|
||||
|
||||
// GetContainerClass returns the class for the "container" element.
|
||||
// In the browser extension it will get the "embedded" class.
|
||||
func GetContainerClass(ctx *aero.Context) string {
|
||||
if ctx.URI() == "/extension/embed" {
|
||||
func GetContainerClass(ctx aero.Context) string {
|
||||
if ctx.Path() == "/extension/embed" {
|
||||
return "embedded"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user