misc: use a simple link for help (#13013)
This commit is contained in:
parent
23bcbab675
commit
759cd4301f
|
@ -1,15 +1,4 @@
|
|||
$(function() {
|
||||
$('.ui-help a').click(function() {
|
||||
var base_url = $(this).attr('href');
|
||||
var dialog = $('<div id="yelp"><iframe src="' + base_url + '"></iframe></div>').dialog({
|
||||
modal: true,
|
||||
resizable: false,
|
||||
position: {my: "right top", at: "right top"},
|
||||
title: '',
|
||||
width: '50%'});
|
||||
$(dialog).css('height', ($(window).height() - 80) + 'px');
|
||||
return false;
|
||||
});
|
||||
$('.foldable').click(function() {
|
||||
$(this).toggleClass('folded').next().toggle();
|
||||
$(this).next().find('.qommon-map').trigger('qommon:invalidate');
|
||||
|
|
Loading…
Reference in New Issue