mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
stuff
This commit is contained in:
parent
576823dbfd
commit
ab5a752691
7 changed files with 35 additions and 31 deletions
|
@ -139,10 +139,10 @@ var init = function() {
|
|||
eventBaton.trigger('commandSubmitted', command);
|
||||
});
|
||||
}
|
||||
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
|
||||
setTimeout(function() {
|
||||
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
||||
}, 600);
|
||||
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent) || /android/i.test(navigator.userAgent)) {
|
||||
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
|
||||
eventBaton.trigger('commandSubmitted', 'mobile alert');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue