mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
fixed a couple of spots missed on the args2array(..) refactoring session...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
39ab5a6ee9
commit
16b5e1d2a2
@ -3944,7 +3944,7 @@ var BrowserPrototype = {
|
||||
|
||||
// get the options method and call it if it exists...
|
||||
var m = this.options.open
|
||||
var args = args2array(arguments)
|
||||
var args = [...arguments]
|
||||
args[0] = path
|
||||
var res = m ? m.apply(this, args) : this
|
||||
res = res || this
|
||||
|
||||
@ -65,7 +65,7 @@ function(name, defaults){
|
||||
var triggerEventWithSource =
|
||||
module.triggerEventWithSource =
|
||||
function(){
|
||||
var args = args2array(arguments)
|
||||
var args = [...arguments]
|
||||
var evt = args.shift()
|
||||
|
||||
if(typeof(evt) == typeof('str')){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user