Skip to content

Commit c9b1988

Browse files
committed
Added one way to use port in browser.element with url.
1 parent 9f52d88 commit c9b1988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/navigation-in-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ init locationHref =
6969

7070
subscriptions : Model -> Sub Msg
7171
subscriptions model =
72-
onUrlChange UrlChanged
72+
onUrlChange (locationHrefToRoute >> UrlChanged)
7373

7474

7575
-- NAVIGATION

0 commit comments

Comments
 (0)