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 7039430 commit df7033cCopy full SHA for df7033c
src/main/scala/org/scalajs/dom/ext/Extensions.scala
@@ -276,7 +276,7 @@ object Ajax {
276
} else {
277
// fall back to copying the data
278
val tempBuffer = ByteBuffer.allocateDirect(data.remaining)
279
- val origPosition = data.position
+ val origPosition = data.position()
280
tempBuffer.put(data)
281
data.position(origPosition)
282
tempBuffer.typedArray()
0 commit comments