nanoislands
Advanced tools
Comparing version 0.4.1 to 0.4.3
@@ -424,2 +424,3 @@ /* | ||
open: function(params) { | ||
var params = params || {}; | ||
var where = params.where; | ||
@@ -442,7 +443,8 @@ var how = params.how; | ||
// Попап закрыт. Будем открывать. | ||
$(this.node).removeClass('_nb-is-hidden'); | ||
// Передвигаем попап. | ||
this._move(where, how, params); | ||
this.trigger('nb-opened'); | ||
if (params.where || this.modal) { | ||
$(this.node).removeClass('_nb-is-hidden'); | ||
// Передвигаем попап. | ||
this._move(where, how, params); | ||
this.trigger('nb-opened'); | ||
} | ||
} | ||
@@ -566,3 +568,2 @@ return this; | ||
$(this.node).contextDialog({ | ||
@@ -569,0 +570,0 @@ tail: data.tail, |
@@ -193,3 +193,3 @@ /* | ||
if (item.icon) { | ||
$itemText.prepend('<img class="nb-icon _nb-s-' + item.icon + '-icon">'); | ||
$itemText.prepend('<img class="nb-icon nb-s-' + item.icon + '-icon">'); | ||
} | ||
@@ -196,0 +196,0 @@ |
;(function() { | ||
var yr = (typeof window !== 'undefined' && window.yr) || require('yate/lib/runtime.js'); | ||
@@ -4,0 +5,0 @@ /* Делает extend двух и более объектов объектов |
@@ -9,3 +9,4 @@ { | ||
"description": "Yate/Stylus/jQuery-UI library for Yandex corporate style", | ||
"version": "0.4.1", | ||
"version": "0.4.3", | ||
"licence": "MIT", | ||
"homepage": "http://yandex-ui.github.io/nanoislands/", | ||
@@ -12,0 +13,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1493989
33828