Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
Fixes #1930 documentation issue (#1932)
Browse files Browse the repository at this point in the history
* Fixes #1930: fix documentation errors

Adds missing `document.` before `getElementById` calls.

* Adds missing `document.` to `getElementById` calls
  • Loading branch information
sangupta authored and rnicholus committed Oct 16, 2017
1 parent 1f452b7 commit 5dcbb8c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/quickstart/01-getting-started.jmd
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ Remember, when using the "core" build, you will need to build your own UI and up
<script>
// Some options to pass to the uploader are discussed on the next page
var uploader = new qq.s3.FineUploader({
element: getElementById("uploader")
element: document.getElementById("uploader")
})
</script>
</body>
Expand Down Expand Up @@ -648,7 +648,7 @@ Remember, when using the "core" build, you will need to build your own UI and up
<script>
// Some options to pass to the uploader are discussed on the next page
var uploader = new qq.azure.FineUploader({
element: getElementById("uploader")
element: document.getElementById("uploader")
})
</script>
</body>
Expand Down Expand Up @@ -786,19 +786,19 @@ Remember, when using the "core" build, you will need to build your own UI and up
// For a traditional endpoint instance:
// Some options to pass to the uploader are discussed on the next page
var traditionalUploader = new qq.FineUploader({
element: getElementById("traditional-uploader")
element: document.getElementById("traditional-uploader")
})

// For an S3 endpoint instance:
// Some options to pass to the uploader are discussed on the next page
var s3Uploader = new qq.s3.FineUploader({
element: getElementById("s3-uploader")
element: document.getElementById("s3-uploader")
})

// For an Azure endpoint instance:
// Some options to pass to the uploader are discussed on the next page
var azureUploader = new qq.azure.FineUploader({
element: getElementById("azure-uploader")
element: document.getElementById("azure-uploader")
})
</script>
</body>
Expand Down

0 comments on commit 5dcbb8c

Please sign in to comment.