Skip to content

Commit cc9d3f1

Browse files
authored
Merge pull request elm#76 from Bernardoow/function_composition
Added one way to use port in browser.element with url.
2 parents 3b06e18 + c9b1988 commit cc9d3f1

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)