Browse Source

Fixes #712, Modal uses RequestAnimationFrame without doing browser normalization on the event

pull/701/merge
jlukic 11 years ago
parent
commit
bee46f62a0
1 changed files with 6 additions and 0 deletions
  1. 6
      src/modules/modal.js

6
src/modules/modal.js

@ -25,6 +25,12 @@ $.fn.modal = function(parameters) {
methodInvoked = (typeof query == 'string'),
queryArguments = [].slice.call(arguments, 1),
requestAnimationFrame = window.requestAnimationFrame
|| window.mozRequestAnimationFrame
|| window.webkitRequestAnimationFrame
|| window.msRequestAnimationFrame
|| function(callback) { setTimeout(callback, 0); },
returnedValue
;

Loading…
Cancel
Save