mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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...
|
// get the options method and call it if it exists...
|
||||||
var m = this.options.open
|
var m = this.options.open
|
||||||
var args = args2array(arguments)
|
var args = [...arguments]
|
||||||
args[0] = path
|
args[0] = path
|
||||||
var res = m ? m.apply(this, args) : this
|
var res = m ? m.apply(this, args) : this
|
||||||
res = res || this
|
res = res || this
|
||||||
|
|||||||
@ -65,7 +65,7 @@ function(name, defaults){
|
|||||||
var triggerEventWithSource =
|
var triggerEventWithSource =
|
||||||
module.triggerEventWithSource =
|
module.triggerEventWithSource =
|
||||||
function(){
|
function(){
|
||||||
var args = args2array(arguments)
|
var args = [...arguments]
|
||||||
var evt = args.shift()
|
var evt = args.shift()
|
||||||
|
|
||||||
if(typeof(evt) == typeof('str')){
|
if(typeof(evt) == typeof('str')){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user