We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5d61d commit 7cd969cCopy full SHA for 7cd969c
dom/src/main/scala/org/scalajs/dom/Location.scala
@@ -50,7 +50,7 @@ trait Location extends js.Object {
50
* DOMException thrown. This happens if the origin of the script calling location.reload() differs from the origin of
51
* the page that owns the Location object.
52
*/
53
- def reload: Unit = js.native
+ def reload(): Unit = js.native
54
55
/** The Location.replace()method replaces the current resource with the one at the provided URL. The difference from
56
* the assign() method is that after using replace() the current page will not be saved in session History, meaning
0 commit comments