Skip to content

Commit df7033c

Browse files
TATSUNO Yasuhirosjrd
TATSUNO Yasuhiro
authored andcommitted
Fix ambiguous reference to overloaded definition (#363)
1 parent 7039430 commit df7033c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalajs/dom/ext/Extensions.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ object Ajax {
276276
} else {
277277
// fall back to copying the data
278278
val tempBuffer = ByteBuffer.allocateDirect(data.remaining)
279-
val origPosition = data.position
279+
val origPosition = data.position()
280280
tempBuffer.put(data)
281281
data.position(origPosition)
282282
tempBuffer.typedArray()

0 commit comments

Comments
 (0)